Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleClientRestart ¶
func HandleClientRestart(r nacosClientFacade)
HandleClientRestart Restart client handler
func ValidateNacosClient ¶
func ValidateNacosClient(container nacosClientFacade, opts ...option) error
ValidateNacosClient Validate nacos client , if null then create it
Types ¶
type NacosClient ¶
type NacosClient struct { NacosAddrs []string sync.Mutex // for Client Timeout time.Duration // contains filtered or unexported fields }
NacosClient Nacos client
func (*NacosClient) Client ¶
func (n *NacosClient) Client() *config_client.IConfigClient
Client Get Client
func (*NacosClient) Done ¶
func (n *NacosClient) Done() <-chan struct{}
Done Get nacos client exit signal
func (*NacosClient) NacosClientValid ¶
func (n *NacosClient) NacosClientValid() bool
NacosClientValid Get nacos client valid status
func (*NacosClient) SetClient ¶
func (n *NacosClient) SetClient(client *config_client.IConfigClient)
SetClient Set client
Click to show internal directories.
Click to hide internal directories.