Documentation ¶
Index ¶
- func NumCurrentlyProcessing() int64
- func NumScheduledEvents(client *redis.Client) (int, error)
- func RegisterEventHandler(evt string, handler EvtHandler)
- func RemoveEvent(client *redis.Client, evt, data string) error
- func Run()
- func ScheduleEvent(client *redis.Client, evt, data string, when time.Time) error
- func Stop(wg *sync.WaitGroup)
- type EvtHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NumCurrentlyProcessing ¶
func NumCurrentlyProcessing() int64
func RegisterEventHandler ¶
func RegisterEventHandler(evt string, handler EvtHandler)
func ScheduleEvent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.