The highest tagged major version is
v2.
package
Version:
v1.4.7
Opens a new window with list of versions in this module.
Published: Aug 18, 2018
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AddHandler(evt string, cb func(*Event), t interface{})
AddEventHandler adds a event handler
For the specified event, should only be done during startup
PublishEvent publishes the specified event
type Event struct {
TargetGuild string
TargetGuildInt int64
EventName string
Data interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.