scheduled

package
v0.0.0-...-a4de9da Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScheduledTask

func ScheduledTask(commands Commands) (c *cron.Cron, err error)

ScheduledCommands 定时任务

Types

type CmdConfig

type CmdConfig map[CmdName]CmdFun

type CmdFun

type CmdFun string

type CmdName

type CmdName string

type Commands

type Commands interface {
	GetConfig() CmdConfig
	MethodMap(CmdName) func()
}

Jump to

Keyboard shortcuts

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