Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbConfig ¶
type DbConfig struct { Master MysqlConfig `yaml:"master"` Slave MysqlConfig `yaml:"slave"` }
type EtcdConfig ¶
type GlobalConfig ¶
type GlobalConfig struct { Server ServerConfig `yaml:"server"` Monitor PrometheusConfig `yaml:"prometheus"` Db DbConfig `yaml:"mysql"` NamingServer EtcdConfig `yaml:"etcd"` }
var (
Config GlobalConfig
)
type MysqlConfig ¶
type PrometheusConfig ¶
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.