delay

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assign

func Assign(name string, handle task.Handle)

分配失效任务

func Bind

func Bind(autoRun bool, options ...task.Option)

绑定配置并运行

func Exist

func Exist(taskName string, value string) bool

func Join

func Join(taskName string, duration time.Duration, value string)

func Run

func Run()

执行任务

func Stop

func Stop()

func Timestamp

func Timestamp(taskName string, value string) float64

Types

type Delay

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

Jump to

Keyboard shortcuts

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