Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.1.2
type Config struct { URL string `json:"url"` Username string `json:"username"` // can be empty Password string `json:"password"` // can be empty }
func LoadConfig ¶ added in v0.1.2
func MustLoadConfig ¶ added in v0.1.2
type FeedCache ¶
type FeedCache struct { Config Interval time.Duration // default is two minutes // contains filtered or unexported fields }
FeedCache gets events from an ical feed and caches them for the given interval. After each interval, calls to update have to wait until the http request is done.
Click to show internal directories.
Click to hide internal directories.