Documentation ¶
Overview ¶
Package mode implements an IRC mode parsing library
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mode ¶
Mode represents a single channel mode, its type, and the prefix its displayed with, if applicable
type SequenceEntry ¶
SequenceEntry is a list of mode changes
func (SequenceEntry) String ¶
func (s SequenceEntry) String() string
type Set ¶
type Set []Mode
Set is a []Mode with utility methods
func ModesFromISupportToken ¶
ModesFromISupportToken creates a Mode array from an ISUPPORT MODE token
func (Set) GetMode ¶
GetMode returns the mode in the ModeSet represented by char, if it exists. if char does not exist as a mode, its type is returned as -1
func (Set) ParseModeSequence ¶
ParseModeSequence parses a mode sequence to a useful set of mode changes
Click to show internal directories.
Click to hide internal directories.