Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulerRegistry ¶
type SchedulerRegistry struct {
// contains filtered or unexported fields
}
func NewSchedulerRegistry ¶
func NewSchedulerRegistry(tz *time.Location) *SchedulerRegistry
func (*SchedulerRegistry) Register ¶
func (r *SchedulerRegistry) Register(id string, duration time.Duration, cmd func()) error
func (*SchedulerRegistry) Unregister ¶
func (r *SchedulerRegistry) Unregister(id string) error
Click to show internal directories.
Click to hide internal directories.