Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Defaults = map[string]interface{}{ "DPort": "9001", "DDoTimeLogging": true, "DLogUnknownRequests": true, "DLogAllRequests": false, "DLogAllResponses": false, "DDebug": false, "DDebugPrints": false, "DEnableRPC": false, "DRPCPort": "23432", "DEnablePublicStats": false, "DEndpointPrefix": "", "DEnableAnalytics": false, "DPrintPlayerNames": false, "DEventConfigFilename": "event_config.json", "DSilenceEventConfigErrors": false, "DInfoConfigFilename": "info_config.json", "DSilenceInfoConfigErrors": false, "DGameConfigFilename": "game_config.json", "DSilenceGameConfigErrors": false, }
defaults default variable names MUST be "D" + (nameOfVariable)
Functions ¶
Types ¶
type ConfigFile ¶
type ConfigFile struct {
Port string `json:"port,omitempty"`
DoTimeLogging bool `json:"doTimeLogging,omitempty"`
LogUnknownRequests bool `json:"logUnknownRequests,omitempty"`
LogAllRequests bool `json:"logAllRequests,omitempty"`
LogAllResponses bool `json:"logAllResponses,omitempty"`
Debug bool `json:"debug,omitempty"`
DebugPrints bool `json:"debugPrints,omitempty"`
EnableRPC bool `json:"enableRPC,omitempty"`
RPCPort string `json:"rpcPort,omitempty"`
EnablePublicStats bool `json:"enablePublicStats,omitempty"`
EndpointPrefix string `json:"endpointPrefix,omitempty"`
EnableAnalytics bool `json:"enableAnalytics,omitempty"`
PrintPlayerNames bool `json:"printPlayerNames,omitempty"`
EventConfigFilename string `json:"eventConfigFilename,omitempty"`
SilenceEventConfigErrors bool `json:"silenceEventConfigErrors,omitempty"`
InfoConfigFilename string `json:"infoConfigFilename,omitempty"`
SilenceInfoConfigErrors bool `json:"silenceInfoConfigErrors,omitempty"`
GameConfigFilename string `json:"gameConfigFilename,omitempty"`
SilenceGameConfigErrors bool `json:"silenceGameConfigErrors,omitempty"`
}
var CFile ConfigFile
Click to show internal directories.
Click to hide internal directories.