expire

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

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

绑定配置并运行

func Run

func Run()

执行任务

func Stop

func Stop()

Types

type Expire

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

失效任务

func Assign

func Assign(name string, handle task.Handle) *Expire

分配失效任务

Jump to

Keyboard shortcuts

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