Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISupport ¶
type ISupport struct { Received bool Injected bool Tags map[string]string // contains filtered or unexported fields }
func (*ISupport) ClearTokens ¶
func (m *ISupport) ClearTokens()
type Message ¶
type Message struct { Raw string Tags map[string]string Prefix *Mask Command string Params []string }
func NewMessage ¶
func NewMessage() *Message
func (*Message) GetParam ¶
GetParam - Get a param value, returning a default value if it doesn't exist
type State ¶
type State struct { LocalPort int RemotePort int Username string Nick string RealName string Password string Account string Modes map[string]string Channels map[string]*StateChannel ISupport *ISupport // contains filtered or unexported fields }
func (*State) ClearChannels ¶
func (m *State) ClearChannels()
func (*State) GetChannel ¶
func (m *State) GetChannel(name string) (channel *StateChannel)
func (*State) HasChannel ¶
func (*State) RemoveChannel ¶
func (*State) SetChannel ¶
func (m *State) SetChannel(channel *StateChannel)
type StateChannel ¶
func NewStateChannel ¶
func NewStateChannel(name string) *StateChannel
Click to show internal directories.
Click to hide internal directories.