Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRCClient ¶
type IRCClient interface { // Chat send message (`PRIVMSG`) to a channel Chat(m string) // Receive return a read-only channel that receive a message // in from an IRC channel Receive() <-chan *message.Payload // Pong handle `PING` message sent by the server Pong() // Username return the username of this bot Username() string // Channel return a channel name this client connect to Channel() string }
IRCClient
Click to show internal directories.
Click to hide internal directories.