Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SetInterVal ¶
type SetInterVal struct { }
var CronInstance *SetInterVal
func New ¶
func New() *SetInterVal
func (*SetInterVal) Do ¶
func (this *SetInterVal) Do(cron string, exprorfunc interface{}) *SetInterVal
type TaskExecutor ¶
type TaskExecutor struct {
// contains filtered or unexported fields
}
func NewTaskExecutor ¶
func NewTaskExecutor(f TaskFunc, p []interface{}, callback func()) *TaskExecutor
辅助函数 初始化任务器
func (*TaskExecutor) Exec ¶
func (this *TaskExecutor) Exec()
Click to show internal directories.
Click to hide internal directories.