Documentation
¶
Index ¶
- type BinState
- type CalendarEvent
- type Checkout
- type CheckoutGroup
- type CheckoutResult
- type Client
- func (c *Client) Add(ctx context.Context, term string, sectionID int) error
- func (c *Client) Calendar(ctx context.Context, term string) ([]CalendarEvent, error)
- func (c *Client) Checkout(ctx context.Context, term string) (*Checkout, error)
- func (c *Client) CourseBin(ctx context.Context, term string) (*CourseBin, error)
- func (c *Client) Courses(ctx context.Context, term string, query CourseQuery) ([]Course, error)
- func (c *Client) Programs(ctx context.Context, term string) ([]School, error)
- func (c *Client) Remove(ctx context.Context, term string, sectionID int) error
- func (c *Client) Schedule(ctx context.Context, term string, sectionID int) error
- func (c *Client) SelectTerm(ctx context.Context, term string) error
- func (c *Client) SetGradeOption(ctx context.Context, term string, sectionID int, code string) (string, error)
- func (c *Client) Submit(ctx context.Context, term string) (*CheckoutResult, error)
- func (c *Client) Terms(ctx context.Context) ([]Term, error)
- func (c *Client) Unschedule(ctx context.Context, term string, sectionID int) error
- type Course
- type CourseBin
- type CourseQuery
- type Doer
- type Error
- type GradeChoice
- type GradeOption
- type Program
- type School
- type Seats
- type Section
- type Term
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalendarEvent ¶
type Checkout ¶
type Checkout struct {
Term string `json:"term"`
Ready bool `json:"ready"`
Message string `json:"message,omitempty"`
Groups []CheckoutGroup `json:"groups"`
}
type CheckoutGroup ¶
type CheckoutResult ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SetGradeOption ¶
type CourseBin ¶
type CourseQuery ¶
type GradeChoice ¶
type GradeOption ¶
type GradeOption struct {
Current string `json:"current,omitempty"`
Choices []GradeChoice `json:"choices,omitempty"`
ChangeRequest bool `json:"change_request"`
// contains filtered or unexported fields
}
type Section ¶
type Section struct {
ID int `json:"id"`
Clearance string `json:"clearance,omitempty"`
Session string `json:"session,omitempty"`
Type string `json:"type,omitempty"`
Units string `json:"units,omitempty"`
Seats Seats `json:"seats"`
Times []string `json:"times,omitempty"`
Days []string `json:"days,omitempty"`
Instructors []string `json:"instructors,omitempty"`
Locations []string `json:"locations,omitempty"`
Notes []string `json:"notes,omitempty"`
InCourseBin *bool `json:"in_course_bin,omitempty"`
CourseBin *BinState `json:"course_bin,omitempty"`
GradeOption *GradeOption `json:"grade_option,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.