history

package
v0.0.0-...-2adbdf0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistroyService

type HistroyService interface {
	Name() string
	ExecHistory() error
	Cron() string
}

type Module

type Module struct {
	// contains filtered or unexported fields
}

func NewModule

func NewModule() *Module

func (*Module) Name

func (m *Module) Name() string

Name implements modules.Module

func (*Module) RegisterPeriodicOperations

func (m *Module) RegisterPeriodicOperations(scheduler *gocron.Scheduler) error

RegisterPeriodicOperations implements modules.PeriodicOperationsModule

func (*Module) RegisterService

func (m *Module) RegisterService(services ...HistroyService)

func (*Module) RunPeriodicOperations

func (m *Module) RunPeriodicOperations() error

func (*Module) RunServices

func (m *Module) RunServices(scheduler *gocron.Scheduler) error

Jump to

Keyboard shortcuts

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