Documentation ¶
Index ¶
Constants ¶
View Source
const DBSchema = `` /* 376-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func RegisterHandler ¶
func RegisterHandler(eventName string, dataDest interface{}, handler HandlerFunc)
func RegisterPlugin ¶
func RegisterPlugin()
Types ¶
type HandlerFunc ¶
type HandlerFunc func(evt *models.ScheduledEvent, data interface{}) (err error, retry bool)
type RegisteredHandler ¶
type RegisteredHandler struct { EvtName string DataFormat interface{} Handler HandlerFunc }
type ScheduledEvents ¶
type ScheduledEvents struct{}
func (*ScheduledEvents) BotStarted ¶
func (se *ScheduledEvents) BotStarted()
func (*ScheduledEvents) Name ¶
func (se *ScheduledEvents) Name() string
Click to show internal directories.
Click to hide internal directories.