Help us shape the future of Go! Take the 2026 Go Developer Survey

app

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*common.Inject
	M sync.Map
}

func Initialize

func Initialize(i *common.Inject) *App

func (*App) Get

func (x *App) Get(key string) (*cron.Cron, bool)

func (*App) GetState

func (x *App) GetState(key string) []cron.Entry

func (*App) Ping added in v1.3.3

func (x *App) Ping() (err error)

func (*App) Remove

func (x *App) Remove(key string)

func (*App) Run

func (x *App) Run() (err error)

func (*App) Set

func (x *App) Set(key string, option typ.ScheduleOption) (err error)

func (*App) SetJob

func (x *App) SetJob(key string, c *cron.Cron, index int, job typ.ScheduleJob) (err error)

func (*App) State

func (x *App) State() (err error)

Jump to

Keyboard shortcuts

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