Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigClient ¶
func GetConfigClient() config_client.IConfigClient
GetConfigClient 获取nacos配置实例
func GetHealthyInstanceUrl ¶
GetHealthyInstanceUrl 获取健康实例url地址
func GetNamingClient ¶
func GetNamingClient() naming_client.INamingClient
GetNamingClient 获取nacos服务发现实例
func InitClient ¶
func InitClient(appName, addrStr, namespace string)
InitClient 初始化客户端
注意addrStr支持多个地址,以英文逗号分隔,如:
192.168.224.2:8848,192.168.224.3:8848
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.