Documentation ¶
Index ¶
- Constants
- func AlreadyRegistered(host string) message.M
- func NeedMoreParams(host, command string) message.M
- func NicknameInUse(host, nick string) message.M
- func NoNicknameGiven(host string) message.M
- func NoSuchNick(host, nick string) message.M
- func NotOnChannel(host, channel string) message.M
- func UserOnChannel(host, nick, channel string) message.M
Constants ¶
View Source
const ( // Returned when a nickname parameter expected for a command and isn't found. // // ":No nickname given" ERR_NONICKNAMEGIVEN = "431" // Returned when a NICK message is processed that results in an attempt to // change to a currently existing nickname. // // "<nick> :Nickname is already in use" ERR_NICKNAMEINUSE = "433" // Returned by the server whenever a client tries to perform a channel // affecting command for which the client isn't a member. // // "<channel> :You're not on that channel" ERR_NOTONCHANNEL = "442" // Returned when a client tries to invite a user to a // channel they are already on. // // "<user> <channel> :is already on channel" ERR_USERONCHANNEL = "443" // Returned by the server by numerous commands to indicate to the client that // it didn't supply enough parameters. // // "<command> :Not enough parameters" ERR_NEEDMOREPARAMS = "461" // Returned by the server to any link which tries to change part of the // registered details (such as password or user details from second USER // message). // // ":Unauthorized command (already registered)" ERR_ALREADYREGISTRED = "462" // Used to indicate the nickname parameter supplied to a command is currently // unused. // // "<nickname> :No such nick/channel" ERR_NOSUCHNICK = "401" )
Variables ¶
This section is empty.
Functions ¶
func AlreadyRegistered ¶
func NeedMoreParams ¶
func NicknameInUse ¶
func NoNicknameGiven ¶
func NoSuchNick ¶
func NotOnChannel ¶
func UserOnChannel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.