Documentation
¶
Index ¶
- func AddCronTask(spec string, f func(ctx context.Context), timeout ...time.Duration)
- func AddTask(spec string, f func())deprecated
- func Shutdown(code string, ctx context.Context) error
- func Startup(code, port string) error
- func WrapCronTask(f func(ctx context.Context), timeout ...time.Duration) func()
- type Task
- type TaskSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCronTask ¶ added in v0.0.43
Types ¶
Click to show internal directories.
Click to hide internal directories.