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 ¶ added in v1.5.8
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 ¶ added in v1.5.8
func NewNacosClientByUrl(url *common.URL) (*nacosClient.NacosNamingClient, error)
NewNacosClientByUrl created
func NewNacosConfigClientByUrl ¶ added in v1.5.8
func NewNacosConfigClientByUrl(url *common.URL) (*nacosClient.NacosConfigClient, error)
NewNacosConfigClientByUrl reads the config from url and builds an instance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.