Documentation ¶
Index ¶
- func GetNacosConfig(url *common.URL) ([]nacosConstant.ServerConfig, nacosConstant.ClientConfig, error)
- func NewNacosClient(rc *config.RemoteConfig) (*nacosClient.NacosNamingClient, error)
- func NewNacosClientByUrl(url *common.URL) (*nacosClient.NacosNamingClient, error)
- func NewNacosConfigClientByUrl(url *common.URL) (*nacosClient.NacosConfigClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNacosConfig ¶
func GetNacosConfig(url *common.URL) ([]nacosConstant.ServerConfig, nacosConstant.ClientConfig, error)
GetNacosConfig will return the nacos config
func NewNacosClient ¶
func NewNacosClient(rc *config.RemoteConfig) (*nacosClient.NacosNamingClient, error)
NewNacosClient create an instance with the config
func NewNacosClientByUrl ¶
func NewNacosClientByUrl(url *common.URL) (*nacosClient.NacosNamingClient, error)
NewNacosClientByUrl created
func NewNacosConfigClientByUrl ¶
func NewNacosConfigClientByUrl(url *common.URL) (*nacosClient.NacosConfigClient, error)
NewNacosConfigClientByUrl read the config from url and build an instance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.