jobs

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*cron.Cron
}

func New

func New() Service

func (Service) AddFunc

func (s Service) AddFunc(spec string, fn func()) (int, error)

func (Service) Remove added in v0.6.6

func (s Service) Remove(id int)

Jump to

Keyboard shortcuts

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