Versions in this module Expand all Collapse all v1 v1.6.3 Jan 15, 2024 Changes in this version + type Config struct + IgnoreInvalidYaml bool + PositionsFile string + ReadOnly bool + SyncPeriod time.Duration + func (cfg *Config) RegisterFlags(flags *flag.FlagSet) + func (cfg *Config) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet) + type File struct + Positions map[string]string + type Positions interface + Get func(path string) (int64, error) + GetString func(path string) string + Put func(path string, pos int64) + PutString func(path string, pos string) + Remove func(path string) + Stop func() + SyncPeriod func() time.Duration + func New(logger log.Logger, cfg Config) (Positions, error)