Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watch ¶
type Watch struct { // CRNs is a list of courses to be // checked by crn CRNs []int // Courses is a list of courses // to be checked by name Names []string // Duration is the time spent between checks Duration time.Duration // 12h Term string Year int }
Watch is a class that holds config data that defines an action to be watched.
type Watcher ¶
type Watcher interface {
Watch() error
}
Watcher is an interface that watches duh... jk lol
type WatcherFunc ¶ added in v0.0.3
type WatcherFunc func() error
WatcherFunc is a function that implements the Watcher interface.
func (WatcherFunc) Watch ¶ added in v0.0.3
func (wf WatcherFunc) Watch() error
Watch will run the watch function
Click to show internal directories.
Click to hide internal directories.