Documentation ¶ Index ¶ func GetType2EventHandler(conf *config.Config) (map[string]Handler, bool) func SetTypeHandler(conf *config.Config, eventType string, handler Handler) func SetTypeHandler2(conf *config.Config, eventType string, ...) type Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetType2EventHandler ¶ func GetType2EventHandler(conf *config.Config) (map[string]Handler, bool) func SetTypeHandler ¶ func SetTypeHandler(conf *config.Config, eventType string, handler Handler) func SetTypeHandler2 ¶ func SetTypeHandler2(conf *config.Config, eventType string, fn func(ctx *core.Context, event map[string]interface{}) error) Types ¶ type Handler ¶ type Handler interface { GetEvent() interface{} Handle(*core.Context, interface{}) error } Source Files ¶ View all Source files event.go Directories ¶ Show internal Expand all Path Synopsis app v1 core handlers model http gin native Click to show internal directories. Click to hide internal directories.