Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SyncPeriod time.Duration `yaml:"sync_period"` PositionsFile string `yaml:"filename"` }
Config describes where to get postition information from.
func (*Config) RegisterFlags ¶
RegisterFlags register flags.
type Positions ¶
type Positions struct {
// contains filtered or unexported fields
}
Positions tracks how far through each file we've read.
func (*Positions) SyncPeriod ¶
SyncPeriod returns how often the positions file gets resynced
Click to show internal directories.
Click to hide internal directories.