Documentation
¶
Index ¶
- type Application
- func (app *Application) Call(callback func()) schedule.Event
- func (app *Application) Command(command string) schedule.Event
- func (app *Application) Logs(id int) []string
- func (app *Application) PauseEntry(id int)
- func (app *Application) Register(events []schedule.Event)
- func (app *Application) RegisterOne(event schedule.Event) (cron.EntryID, error)
- func (app *Application) Run()
- func (app *Application) StartEntry(id int)
- func (app *Application) Unregister(id int)
- type Logger
- type ServiceProvider
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) Logs ¶ added in v1.0.28
func (app *Application) Logs(id int) []string
func (*Application) PauseEntry ¶ added in v1.0.28
func (app *Application) PauseEntry(id int)
func (*Application) Register ¶
func (app *Application) Register(events []schedule.Event)
func (*Application) RegisterOne ¶ added in v1.0.27
func (*Application) Run ¶
func (app *Application) Run()
func (*Application) StartEntry ¶ added in v1.0.28
func (app *Application) StartEntry(id int)
func (*Application) Unregister ¶ added in v1.0.27
func (app *Application) Unregister(id int)
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (receiver *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (receiver *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.