Versions in this module Expand all Collapse all v0 v0.7.0 Jan 24, 2022 Changes in this version + func Start(ctx context.Context, l Log, options ...Option) error + type Log interface + RemoveSegmentStartingAt func(t time.Time) error + Segments func() ([]log.Segment, error) + type Option func(*Settings) error + func Interval(duration time.Duration) Option + func Retention(duration time.Duration) Option + type Results struct + SegmentsRemoved []log.Segment + func RemoveOldSegments(l Log, olderThan time.Time) (Results, error) + type Settings struct