Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericServer ¶
type GenericServer struct {
Version Version `json:"-"`
Address string
Clients []Client
NumClients uint8
Settings map[string]string
ExtraInfo extraInfo `json:"-"`
}
func NewGenericServer ¶
func NewGenericServer() GenericServer
type ServerType ¶ added in v0.1.6
type ServerType string
const ( TypeFte ServerType = "fte" TypeMvdsv ServerType = "mvdsv" TypeProxy ServerType = "qwfwd" TypeQtv ServerType = "qtv" TypeUnknown ServerType = "unknown" )
type Version ¶ added in v0.1.6
type Version string
func (Version) GetType ¶ added in v0.1.6
func (sv Version) GetType() ServerType
func (Version) IsGameServer ¶ added in v0.1.6
func (Version) IsType ¶ added in v0.1.6
func (sv Version) IsType(serverType ServerType) bool
Click to show internal directories.
Click to hide internal directories.