Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNacosConfigClient ¶
func NewNacosConfigClient(conf NacosConf) config_client.IConfigClient
Types ¶
type NacosConf ¶
type NacosConf struct {
IPAddr string `json:"ip_addr"`
Port int `json:"port"`
NamespaceID string `json:"namespace_id"`
GroupName string `json:"group_name"`
LogDir string `json:"log_dir"`
CacheDir string `json:"cache_dir"`
RotateTime string `json:"rotate_time"`
MaxAge int `json:"max_age"`
LogLevel string `json:"log_level"`
UserName string `json:"user_name"`
Password string `json:"password"`
}
nacos client config struct
Click to show internal directories.
Click to hide internal directories.