Documentation ¶
Overview ¶
Package chatmessage provides a simple frontend for message handlers
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 implements MessageHandler and powers this event system
func (*Handler) AddCTCPHandler ¶
func (h *Handler) AddCTCPHandler(ctcp string, f MessageFunc) int
func (*Handler) AddHandler ¶
func (h *Handler) AddHandler(f MessageFunc) int
AddHandler adds a function to handle all incoming messages
func (*Handler) DelHandler ¶
DelHandler removes a handler function, if it exists
Click to show internal directories.
Click to hide internal directories.