Documentation ¶
Overview ¶
Package setting stores all server application settings
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { config.GlobalConfig `json:",inline" yaml:",inline"` // Server represent all server configurations Server *config.Servers `json:"server_config" yaml:"server_config"` // Observability represent observability configurations Observability *config.Observability `json:"observability" yaml:"observability"` // BackupManager represent backup manager configuration BackupManager *config.BackupManager `json:"backup" yaml:"backup"` // Compressor represent compressor configuration Compressor *config.Compressor `json:"compressor" yaml:"compressor"` // Registerer represent registerer configuration Registerer *config.CompressorRegisterer `json:"registerer" yaml:"registerer"` }
Config represent a application setting data content (config.yaml). In K8s environment, this configuration is stored in K8s ConfigMap.
type GlobalConfig ¶ added in v0.0.2
type GlobalConfig = config.GlobalConfig
Click to show internal directories.
Click to hide internal directories.