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() // GetUsername return the username of this bot GetUsername() string // GetChannel return a channel name this client connect to GetChannel() string }
IRCClient
Click to show internal directories.
Click to hide internal directories.