Documentation ¶ Index ¶ type Client type DocEvent type Fetcher func New(hostname string, course course.Course, class class.Class, c Client) *Fetcher func (f *Fetcher) FetchDocEvents(y, m, length int) ([]DocEvent, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client interface { Get(url string) (*http.Response, error) } type DocEvent ¶ type DocEvent struct { Date string Start string End string Title string } type Fetcher ¶ type Fetcher struct { // contains filtered or unexported fields } func New ¶ func New(hostname string, course course.Course, class class.Class, c Client) *Fetcher func (*Fetcher) FetchDocEvents ¶ func (f *Fetcher) FetchDocEvents(y, m, length int) ([]DocEvent, error) Source Files ¶ View all Source files fetcher.go Directories ¶ Show internal Expand all Path Synopsis class course Click to show internal directories. Click to hide internal directories.