schedule

package
v1.1.18 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func (*Application) Call

func (app *Application) Call(callback func()) schedule.Event

func (*Application) Command

func (app *Application) Command(command string) schedule.Event

func (*Application) Logs

func (app *Application) Logs(id int) []string

func (*Application) PauseEntry

func (app *Application) PauseEntry(id int)

func (*Application) Register

func (app *Application) Register(events []schedule.Event)

func (*Application) RegisterOne

func (app *Application) RegisterOne(event schedule.Event) (cron.EntryID, error)

func (*Application) Run

func (app *Application) Run()

func (*Application) StartEntry

func (app *Application) StartEntry(id int)

func (*Application) Unregister

func (app *Application) Unregister(id int)

type Logger

type Logger struct{}

func (*Logger) Error

func (log *Logger) Error(err error, msg string, keysAndValues ...any)

func (*Logger) Info

func (log *Logger) Info(msg string, keysAndValues ...any)

type ServiceProvider

type ServiceProvider struct {
}

func (*ServiceProvider) Boot

func (receiver *ServiceProvider) Boot()

func (*ServiceProvider) Register

func (receiver *ServiceProvider) Register()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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