package
Version:
v2.0.3
Opens a new window with list of versions in this module.
Published: Nov 4, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const ConfigFilePathEnvName = "CONFIG_FILE_PATH"
type APIServer struct {
GrpcServerAddr string `json:"grpc_server_addr" yaml:"grpc_server_addr"`
HttpServerAddr string `json:"http_server_addr" yaml:"http_server_addr"`
}
type Config struct {
meta.Meta `json:"-" yaml:"-"`
Env string `json:"env" yaml:"env"`
Tracing Tracing `json:"tracing" yaml:"tracing"`
APIServer APIServer `json:"api_server" yaml:"api_server"`
Factorio Factorio `json:"factorio" yaml:"factorio"`
}
type Factorio struct {
RCONHost string `json:"rcon_host" yaml:"rcon_host"`
RCONPort string `json:"rcon_port" yaml:"rcon_port"`
RCONPassword string `json:"rcon_password" yaml:"rcon_password"`
}
type Tracing struct {
OtelCollectorHTTP bool `json:"otel_collector_http" yaml:"otel_collector_http"`
OtelStdoutEnabled bool `json:"otel_stdout_enabled" yaml:"otel_stdout_enabled"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.