schedule

package
v0.0.0-...-d1c0bb1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2016 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteScheduler

func DeleteScheduler(scheduleId uuid.UUID) error

func InitShechuleManager

func InitShechuleManager()

Types

type Scheduler

type Scheduler struct {
	Id      uuid.UUID
	Channel chan string
}

func GetScheduler

func GetScheduler(scheduleId uuid.UUID) (Scheduler, error)

func NewScheduler

func NewScheduler() (Scheduler, error)

func (Scheduler) Schedule

func (s Scheduler) Schedule(t time.Duration, f func(map[string]interface{}), m map[string]interface{})

Jump to

Keyboard shortcuts

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