schedule

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 5 Imported by: 4

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 NewApplication added in v1.8.0

func NewApplication() *Application

func (*Application) Call

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

func (*Application) Command

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

func (*Application) Register

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

func (*Application) Run

func (app *Application) Run()

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