scheduler

package
v0.0.0-...-69125bf Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2017 License: MIT Imports: 7 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(event *models.Event) error
	Update(event *models.Event) error
	Delete(id uint) error
	Find(id uint) (*cron.Cron, error)
	ScheduleAll(r repos.EventRepo)
}

func New

func New() Scheduler

Jump to

Keyboard shortcuts

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