Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelMatcher ¶
type ChannelMatcher struct { MatchTitle string `json:"match_title,omitempty" toml:"match_title,omitempty"` Command commandAndArgs `json:"command,omitempty" toml:"command,omitempty"` CommandKey string `json:"command_key,omitempty" toml:"command_key,omitempty"` Proxy bool `json:"proxy" toml:"proxy"` }
type CommandContext ¶
type MetaData ¶
type MetaData struct { PerspectiveTitle string Event string Category string Title string Session string Date time.Time Year string Country string Series string EpisodeNumber int64 OrdinalNumber int64 Circuit string Source interface{} }
MetaData contains title metadata
type MultiCommand ¶
type MultiCommand struct { Title string `json:"title,omitempty" toml:"title,omitempty"` Targets []ChannelMatcher `json:"targets,omitempty" toml:"targets,omitempty"` }
type Store ¶
type Store struct { Commands []Command MultiCommads []MultiCommand // contains filtered or unexported fields }
func (*Store) GetCommand ¶
func (s *Store) GetCommand(multi ChannelMatcher) Command
func (*Store) RunCommand ¶
func (s *Store) RunCommand(cc CommandContext) error
Click to show internal directories.
Click to hide internal directories.