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 GetNacosCfg ¶
func GetNacosCfg() nacos
func ReadConfig ¶
func ReadConfig(configStr string, out interface{})
Types ¶
type BoostrapConfig ¶
type BoostrapConfig struct { HttpPort string Logger logger `yaml:"logger"` Nacos nacos `yaml:"nacos"` }
Click to show internal directories.
Click to hide internal directories.