Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppEnv = &appEnvConfig{
Env: "DEV",
}
View Source
var AppSign = &appSignConfig{ Sign: make(map[string]string), }
View Source
var BootConfig = &BoostrapConfig{HttpPort: "8080"}
View Source
var PriorityNetwork = &priorityNetwork{ Networks: make([]string, 0), }
Functions ¶
func GetAppName ¶ added in v0.1.5
func GetAppName() string
func GetConfigSecretKey ¶ added in v0.2.6
func GetConfigSecretKey() string
func GetNacosCfg ¶
func GetNacosCfg() nacos
func ReadConfig ¶
func ReadConfig(configStr string, out interface{})
Types ¶
type BoostrapConfig ¶
Click to show internal directories.
Click to hide internal directories.