Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigType ¶
type ConfigType struct { ConfigFile string `json:"-" cli:"config"` ConfigVersion string `json:"version" yaml:"version" toml:"version"` ServiceName string `json:"service_name" yaml:"service_name" toml:"service_name" env:"SERVICE_NAME" default:"eventstream"` LogAddr string `json:"log_addr" yaml:"log_addr" toml:"log_addr" default:"" env:"LOG_ADDR"` LogLevel string `json:"log_level" yaml:"log_level" toml:"log_level" default:"debug" env:"LOG_LEVEL"` LogEncoder string `json:"log_encoder" yaml:"log_encoder" toml:"server" env:"LOG_ENCODER"` Profile profilerConfig `json:"profile" yaml:"profile" toml:"profile"` Stores map[string]configItem `json:"stores" yaml:"stores" toml:"stores"` Sources map[string]configItem `json:"sources" yaml:"sources" toml:"sources"` Streams map[string]configItem `json:"streams" yaml:"streams" toml:"streams"` Jaeger struct { AgentHost string `env:"JAEGER_AGENT_HOST"` } // contains filtered or unexported fields }
ConfigType contains all application options
var Config ConfigType
Config instance
func (*ConfigType) ConfigFilepath ¶
func (cfg *ConfigType) ConfigFilepath() string
ConfigFilepath name
func (*ConfigType) String ¶
func (cfg *ConfigType) String() string
Click to show internal directories.
Click to hide internal directories.