Documentation ¶ Index ¶ func RunOnce(s Store, options ...Option) error func SetLoggerAdapter(adapter logger.Adapter) func Start(ctx context.Context, s Store, options ...Option) error type Option func Interval(d time.Duration) Option type Options type Store Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RunOnce ¶ func RunOnce(s Store, options ...Option) error func SetLoggerAdapter ¶ added in v0.6.1 func SetLoggerAdapter(adapter logger.Adapter) func Start ¶ func Start(ctx context.Context, s Store, options ...Option) error Types ¶ type Option ¶ type Option func(options *Options) error func Interval ¶ func Interval(d time.Duration) Option type Options ¶ type Options struct { // contains filtered or unexported fields } type Store ¶ type Store interface { Reader(...store.ReaderOption) (store.Reader, error) Versions() ([]store.Version, error) DeleteVersion(time.Time) error } Source Files ¶ View all Source files compacter.golog.go Click to show internal directories. Click to hide internal directories.