Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DayOfTheWeek ¶
func (*DayOfTheWeek) UnmarshalJSON ¶
func (i *DayOfTheWeek) UnmarshalJSON(b []byte) error
type FilterSchedule ¶
func (FilterSchedule) Name ¶
func (e FilterSchedule) Name() string
Name implements the Handler interface.
type Schedule ¶
type Schedule struct { Always bool Schedule []ScheduleEntry }
type ScheduleEntry ¶
type ScheduleEntry struct { Days []DayOfTheWeek Hours []TimeInteval }
type SitesFilter ¶
func LoadFromFile ¶
func LoadFromFile(filename string) ([]SitesFilter, error)
func (*SitesFilter) IsMatching ¶
type TimeInteval ¶
Click to show internal directories.
Click to hide internal directories.