Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Web struct { Port int `mapstructure:"port"` Password string `mapstructure:"password"` Tls bool `mapstructure:"tls"` CertPath string `mapstructure:"cert_path"` KeyPath string `mapstructure:"key_path"` PublicUrl string `mapstructure:"public_url"` } Rcon struct { Address string `mapstructure:"address"` Password string `mapstructure:"password"` Timeout int `mapstructure:"timeout"` SyncInterval int `mapstructure:"sync_interval"` BackupInterval int `mapstructure:"backup_interval"` } `mapstructure:"rcon"` Save struct { Path string `mapstructure:"path"` DecodePath string `mapstructure:"decode_path"` SyncInterval int `mapstructure:"sync_interval"` } `mapstructure:"save"` Manage struct { KickNonWhitelist bool `mapstructure:"kick_non_whitelist"` } }
Click to show internal directories.
Click to hide internal directories.