Documentation ¶
Overview ¶
Package user provides some simple IRC user tracking
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EphemeralUser ¶
EphemeralUser represents an IRC user. It is intended ephemeral use on messages. as in, it should be created from a message and optionally augmented with stored data. it should *NOT* be used as a normal user store, as some things that are stored on it may change at any time server side (such as oper status)
There is no promise that anything other than nick/user/host exists.
func FromMessage ¶
func FromMessage(msg *ircmsg.Message, availableCaps []capab.Capability) *EphemeralUser
FromMessage creates an EphemeralUser instance from a message. It will make use of various tags, if offered, to add more information to the struct
Click to show internal directories.
Click to hide internal directories.