fetcher

package
v0.0.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL