Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NacosConfigClient ¶ added in v1.11.11
type NacosConfigClient struct {
// contains filtered or unexported fields
}
func NewNacosConfigClient ¶
func NewNacosConfigClient(name string, share bool, sc []constant.ServerConfig, cc constant.ClientConfig) (*NacosConfigClient, error)
NewNacosConfigClient create config client
func (*NacosConfigClient) Client ¶ added in v1.11.11
func (n *NacosConfigClient) Client() config_client.IConfigClient
Client Get NacosConfigClient
func (*NacosConfigClient) Close ¶ added in v1.11.11
func (n *NacosConfigClient) Close()
Close close client
func (*NacosConfigClient) NacosClientValid ¶ added in v1.11.11
func (n *NacosConfigClient) NacosClientValid() bool
NacosClientValid Get nacos client valid status
func (*NacosConfigClient) SetClient ¶ added in v1.11.11
func (n *NacosConfigClient) SetClient(client config_client.IConfigClient)
SetClient Set NacosConfigClient
type NacosNamingClient ¶ added in v1.11.11
type NacosNamingClient struct {
// contains filtered or unexported fields
}
func NewNacosNamingClient ¶
func NewNacosNamingClient(name string, share bool, sc []constant.ServerConfig, cc constant.ClientConfig) (*NacosNamingClient, error)
NewNacosNamingClient create nacos client
func (*NacosNamingClient) Client ¶ added in v1.11.11
func (n *NacosNamingClient) Client() naming_client.INamingClient
Client Get NacosNamingClient
func (*NacosNamingClient) Close ¶ added in v1.11.11
func (n *NacosNamingClient) Close()
Close close client
func (*NacosNamingClient) NacosClientValid ¶ added in v1.11.11
func (n *NacosNamingClient) NacosClientValid() bool
NacosClientValid Get nacos client valid status
func (*NacosNamingClient) SetClient ¶ added in v1.11.11
func (n *NacosNamingClient) SetClient(client naming_client.INamingClient)
SetClient Set NacosNamingClient
Click to show internal directories.
Click to hide internal directories.