package
0.1.6
Repository: https://github.com/xiaonanln/goworld.git
Documentation: pkg.go.dev

# Functions

DumpPretty format config to string in pretty format.
Get returns the total GoWorld config.
GetConfigDir returns the directory of goworld.ini.
GetConfigFilePath returns the config file path.
GetDispatcher returns the dispatcher config.
GetDispatcherIDs returns all dispatcher IDs.
GetGame gets the game config of specified game ID.
GetGameIDs returns all game IDs.
GetGameNum returns the number of games.
GetGate gets the gate config of specified gate ID.
GetGateIDs returns all gate IDs.
GetGatesNum returns the number of gates.
GetKVDB returns the KVDB config.
GetStorage returns the storage config.
Reload forces goworld server to reload the whole config.
SetConfigFile sets the config file path (goworld.ini by default).

# Structs

DispatcherConfig defines fields of dispatcher config.
GameConfig defines fields of game config.
GateConfig defines fields of gate config.
GoWorldConfig defines the total GoWorld config file structure.
KVDBConfig defines fields of KVDB config.
StorageConfig defines fields of storage config.