Documentation ¶
Index ¶
Constants ¶
View Source
const ( MsgTypeChat = iota MsgTypeCmd MsgTypeAdmin MsgTypePing )
Variables ¶
View Source
var MsgHandlers = map[string]MsgHandler{
":help": {noOpInHandler, helpOutHandler, "Show available commands"},
":id": {idInHandler, idOutHandler, "Change username. Example: \":id my_new_name\""},
}
Functions ¶
This section is empty.
Types ¶
type Client ¶
type DefaultScanner ¶
type DefaultScanner struct {
Local bool
}
type InboundHandler ¶
type MsgHandler ¶
type MsgHandler struct {
// contains filtered or unexported fields
}
type NetScanner ¶
type NullScanner ¶
type NullScanner struct{}
type OutboundHandler ¶
Click to show internal directories.
Click to hide internal directories.