Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigObject ¶
type ConfigObject struct {
LoginServer LoginServerType
GameServers []GameServerType
}
func Read ¶
func Read() ConfigObject
type DatabaseType ¶
type GameServerConfigObject ¶
type GameServerConfigObject struct {
LoginServer LoginServerType
GameServer GameServerType
}
type GameServerType ¶
type GameServerType struct {
Name string
InternalIP string
ExternalIP string
Port int
Database DatabaseType
Cache CacheType
Options OptionsType
}
type LoginServerType ¶
type LoginServerType struct {
Host string
AutoCreate bool
Database DatabaseType
}
type OptionsType ¶
Click to show internal directories.
Click to hide internal directories.