Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZCrontab ¶
type ZCrontab struct {
// contains filtered or unexported fields
}
func (*ZCrontab) At ¶
func (z *ZCrontab) At(t time.Time, f func(interface{}), args interface{}, repeated bool) (string, error)
At add a at task, t is the task time, f and args is the callback and input, repeat indicate wheather the task will repeat every day(will ignore the date info)
Click to show internal directories.
Click to hide internal directories.