Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPTextList ¶ added in v0.2.0
type IPTextList []IPText
type Player ¶
type PlayerExtended ¶
type PlayerExtended struct {
File string `json:"file"`
Nickname string `json:"nickname"`
ID int `json:"id"`
IP string `json:"ip"`
Text string `json:"text"`
}
func NewPlayerExtended ¶ added in v0.2.0
func NewPlayerExtended(file, nickname string, id int, ip, text string) PlayerExtended
func (PlayerExtended) String ¶
func (p PlayerExtended) String() string
type PlayerExtendedList ¶
type PlayerExtendedList []PlayerExtended
func (PlayerExtendedList) String ¶
func (p PlayerExtendedList) String() string
func (PlayerExtendedList) ToIPList ¶
func (p PlayerExtendedList) ToIPList() StringList
func (PlayerExtendedList) ToIPTextList ¶ added in v0.2.0
func (p PlayerExtendedList) ToIPTextList() IPTextList
func (PlayerExtendedList) ToPlayerList ¶
func (p PlayerExtendedList) ToPlayerList() PlayerList
type PlayerList ¶
type PlayerList []Player
func (PlayerList) String ¶
func (p PlayerList) String() string
type StringList ¶
type StringList []string
func (StringList) String ¶
func (s StringList) String() string
Click to show internal directories.
Click to hide internal directories.