schedule

package
v0.0.0-...-4b55cb2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronClient

type CronClient struct {
	// contains filtered or unexported fields
}

func NewCronClient

func NewCronClient() *CronClient

func (*CronClient) Add

func (c *CronClient) Add(tmFmt string, fn func()) error

func (*CronClient) AddDay

func (c *CronClient) AddDay(t int, fn func()) error

func (*CronClient) AddEvery

func (c *CronClient) AddEvery(d time.Duration, fn func()) error

func (*CronClient) AddEveryHour

func (c *CronClient) AddEveryHour(fn func()) error

func (*CronClient) AddHour

func (c *CronClient) AddHour(t int, fn func()) error

func (*CronClient) AddMinute

func (c *CronClient) AddMinute(t int, fn func()) error

func (*CronClient) AddWeek

func (c *CronClient) AddWeek(t int, fn func()) error

func (*CronClient) Start

func (c *CronClient) Start()

func (*CronClient) Stop

func (c *CronClient) Stop()

Jump to

Keyboard shortcuts

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