scheduler

package
v0.0.0-...-5da7490 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEventNotExist = errors.New("finding a scheduled event requires a existent cron id")
)

Functions

This section is empty.

Types

type Scheduler

type Scheduler interface {
	Create(cron *models.Event) error
	Update(cron *models.Event) error
	Delete(id uint) error
	Find(id uint) (*cron.Cron, error)
	ScheduleAll(repo repo.Repo) error
}

func New

func New() Scheduler

Jump to

Keyboard shortcuts

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