compacter

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RunOnce

func RunOnce(s Store, options ...Option) error

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL