Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommandAuthorize = iota CommandProtocolVersion CommandProtocolRevision CommandQuit CommandNop CommandCountChannels CommandGetChannels CommandGetChannelCrc CommandSetEpoch CommandListEpochs CommandGetSourceList CommandGetSourceData CommandUnknown )
Variables ¶
This section is empty.
Functions ¶
func CreateChannelListState ¶
func CreateChannelListState(input string) *channelListState
Types ¶
type BashPattern ¶
func ParseBashPattern ¶
func ParseBashPattern(input string) (BashPattern, error)
type NdsChannelListEntry ¶
type NdsChannelListEntry struct { common.BasicChannel Spans []SourceSpan }
func ChannelListLine ¶
func ChannelListLine(input string) (NdsChannelListEntry, error)
func (*NdsChannelListEntry) Existence ¶
func (cl *NdsChannelListEntry) Existence() common.TimeSpan
type ParsedCommand ¶
type ParsedCommand struct { Command Command Version int Revision int ClassType common.ClassType GpsTime common.GpsSecond TimeSpan common.TimeSpan Pattern BashPattern Channels []common.BasicChannel }
func ParseCommand ¶
func ParseCommand(input string) *ParsedCommand
Click to show internal directories.
Click to hide internal directories.