Documentation
¶
Index ¶
Constants ¶
View Source
const (
WhoIsChannelModeNone = WhoIsChannelMode(0)
)
Variables ¶
View Source
var ErrInvalidNick = errors.New("Invalid or no nickname given")
View Source
var ErrNoSuchNick = errors.New("No such nick/channel")
Functions ¶
This section is empty.
Types ¶
type WhoIsChannelMode ¶
type WhoIsChannelMode rune
type WhoIsResponse ¶
type WhoIsResponse struct { // The user's nickname. Nick string Ident string Host string Realname string // TODO 312 RPL_WHOISSERVER "<nick> <server> :<server info>" Server WhoIsServerInfo // TODO 313 RPL_WHOISOPERATOR "<nick> :is an IRC operator" IsOperator bool // TODO 301 RPL_AWAY "<nick> :<away message>" IsAway bool AwayMessage string // TODO 317 RPL_WHOISIDLE "<nick> <integer> :seconds idle" IdleDuration time.Duration SignOnTime time.Time // TODO 319 RPL_WHOISCHANNELS "<nick> :*( ( "@" / "+" ) <channel> " " )" Channels map[string]WhoIsChannelMode }
type WhoIsServerInfo ¶
Click to show internal directories.
Click to hide internal directories.