Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Config: jconfig.DefaultConfig, Editions: Editions{ Java: Java{ Enabled: true, }, Bedrock: Bedrock{ Enabled: false, Config: bconfig.DefaultConfig, }, }, HealthService: HealthService{ Enabled: false, Bind: "0.0.0.0:9090", }, Connect: connect.DefaultConfig, }
DefaultConfig is a default Config.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Config is the Java edition configuration. // It is an alias for Editions.Java.Config. Config jconfig.Config // See Editions struct. Editions Editions // See HealthService struct. HealthService HealthService // See Connect struct. Connect connect.Config }
Config is the root configuration of Gate.
type Editions ¶
Editions provides Minecraft edition specific configs. If multiple editions are enabled, cross-play is activated. If no edition is enabled, all will be enabled.
type HealthService ¶
HealthService is a GRPC health probe service for use with Kubernetes pods. (https://github.com/grpc-ecosystem/grpc-health-probe)
Click to show internal directories.
Click to hide internal directories.