Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnEvent ¶
func OnEvent(event Event)
OnEvent push event to gorotine pool then handled automatic.
func StartEventManager ¶
func StartEventManager()
func StartJobManager ¶
func StartJobManager()
func StopEventManager ¶
func StopEventManager()
func StopJobManager ¶
func StopJobManager()
Types ¶
type EntryID ¶
type EntryID = cron.EntryID
type EventManager ¶
type EventManager interface { Start() Stop() OnEvent(event Event) }
func NewEventManager ¶
type JobManager ¶
JobManager job manger interface
func NewJobManager ¶
func NewJobManager() JobManager
Click to show internal directories.
Click to hide internal directories.