Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Kitex struct { Service string `mapstructure:"service"` Address string `mapstructure:"address"` LogLevel string `mapstructure:"log_level"` OtlpAddr string `mapstructure:"otlp_address"` } `mapstructure:"kitex"` Registry struct { RegistryAddress []string `mapstructure:"registry_address"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` } `mapstructure:"registry"` MySQL struct { Host string `mapstructure:"host"` Port string `mapstructure:"port"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` } `mapstructure:"mysql"` Redis struct { Address string `mapstructure:"address"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` DB int `mapstructure:"db"` } `mapstructure:"redis"` }
Click to show internal directories.
Click to hide internal directories.