Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Presentation string UpdatePath string StandardTimeSettings TimeConfig OverrideDays map[int64]TimeConfig OverrideOn bool OverrideOff bool PowerPoint string UpdateURL string UpdateInterval time.Duration Name string CentralPath string Weekends bool BroadcastDir string *logging.Logger }
The real configuration struct.
func (Config) BroadcastingTime ¶
Tests if according to the config there should be a broadcast on specified time.
type TimeConfig ¶
Struct representing time when the TV should be running.
func (TimeConfig) IsBroadcastingTime ¶
func (tc TimeConfig) IsBroadcastingTime(t time.Time) bool
Tests if it should broadcast on time with timeconfig.
Click to show internal directories.
Click to hide internal directories.