Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TomlConfig struct { DataDir string `toml:"data_directory"` Version int `toml:"version"` Port int `toml:"port"` MaxPlayers int `toml:"max_players"` PacketHandlerFile string `toml:"packet_handler_table"` Database struct { PlayerDB string `toml:"player_db"` WorldDB string `toml:"world_db"` } `toml:"database"` Crypto struct { RsaKeyFile string `toml:"rsa_key"` HashSalt string `toml:"hash_salt"` HashComplexity int `toml:"hash_complexity"` HashMemory int `toml:"hash_memory"` HashLength int `toml:"hash_length"` } `toml:"crypto"` }
TomlConfig A data structure representing the RSCGo TOML configuration file.
Functions ¶
func HashComplexity ¶
func HashComplexity() int
func HashLength ¶
func HashLength() int
func HashMemory ¶
func HashMemory() int
func MaxPlayers ¶
func MaxPlayers() int
func PacketHandlers ¶
func PacketHandlers() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.