nacos

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2023 License: Apache-2.0 Imports: 7 Imported by: 24

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL