Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultApplication = "public" DefaultLabel = "snapshot" )
default config
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServiceName string TomlTag string MaxIdle int MaxOpen int Profile string `json:"profile"` DBHost string `json:"db.host"` DBName string `json:"db.name"` DBUsername string `json:"db.username"` DBPassword string `json:"db.password"` ConfigCenterServiceHost string `json:"configcenter-service.host"` AdminServiceHost string `json:"admin-service.host"` AdminServiceGetServiceCard string `json:"admin-service.get-service-card"` UrpServiceHost string `json:"urp-service.host"` }
func (*Config) LoadLocalConf ¶
func (*Config) OverrideWithRemoteConf ¶
func (*Config) PrintAllConf ¶
func (c *Config) PrintAllConf()
Click to show internal directories.
Click to hide internal directories.