Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player struct{}
Player represents the configuration for a player (Not currently used for anything).
type Structure ¶
type Structure struct { Listener struct { Host string Port int } Minecraft struct { Auth bool Motd string MaxPlayers int } Fallback struct { Enabled bool Host string Port int } Lobby struct { Enabled bool Host string Port int } Debug struct { Logging bool Profiling struct { PPROF struct { Enabled bool Address string } GOSIVY struct { Enabled bool Address string } } } Security struct { Secret string } }
Config is a parsed configuration file for the proxy.
func DefaultConfig ¶
func DefaultConfig() Structure
DefaultConfig returns the default configuration for the proxy & generates a unique secret.
func LoadConfig ¶
func LoadConfig() (config Structure)
LoadConfig loads and parses the configuration for the proxy.
Click to show internal directories.
Click to hide internal directories.