Documentation ¶
Overview ¶
Package multi provides an event.Handler implementation that calls other event.Handler implementations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a MessageHandler implementation that allows multiple implementations to accept the same messages
func (*Handler) AddHandlers ¶
func (m *Handler) AddHandlers(h ...event.MessageHandler)
AddHandlers adds a handler to the MultiHandler instance
func (*Handler) RemoveHandler ¶
func (m *Handler) RemoveHandler(h event.MessageHandler)
RemoveHandler removes a handler from the MultiHandler instance
Click to show internal directories.
Click to hide internal directories.