Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct { // Name is the name of the task Name string // Priority is the priority of the task Priority int // Func is the function to be executed Func func() error // CreateAt is the time when the task is created CreateAt int64 // UpdateAt is the time when the task is updated UpdateAt int64 }
Click to show internal directories.
Click to hide internal directories.