Documentation ¶ Index ¶ type Logger type Service func New(backupPeriod time.Duration, dataDir, outputDir string, logger Logger) *Service func (s *Service) Start(ctx context.Context) (runError <-chan error, startErr error) func (s *Service) Stop() (err error) func (s *Service) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger interface { Info(message string) } type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New(backupPeriod time.Duration, dataDir, outputDir string, logger Logger, ) *Service func (*Service) Start ¶ func (s *Service) Start(ctx context.Context) (runError <-chan error, startErr error) func (*Service) Stop ¶ func (s *Service) Stop() (err error) func (*Service) String ¶ func (s *Service) String() string Source Files ¶ View all Source files interfaces.goservice.gozip.go Click to show internal directories. Click to hide internal directories.