Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeriodicalTask ¶
type PeriodicalTask struct {
// contains filtered or unexported fields
}
func NewPeriodicalTask ¶
func NewPeriodicalTask(callback func()) *PeriodicalTask
func (*PeriodicalTask) Start ¶
func (t *PeriodicalTask) Start(interval time.Duration)
func (*PeriodicalTask) Stop ¶
func (t *PeriodicalTask) Stop()
Click to show internal directories.
Click to hide internal directories.