Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig constant.ClientConfig
type Nacos ¶
type Nacos struct { ClientConfig ClientConfig ServerConfigs []ServerConfig RegisterInstance RegisterInstance // 已注册服务的配置 NamingClient naming_client.INamingClient ConfigClient config_client.IConfigClient }
func (Nacos) Deregister ¶
Deregister 服务注销
func (Nacos) GetOneServer ¶
GetOneServer 获取有效的服务信息
type RegisterConfig ¶
type RegisterConfig vo.RegisterInstanceParam
type RegisterInstance ¶
type RegisterInstance map[string]vo.RegisterInstanceParam
type ServerConfig ¶
type ServerConfig constant.ServerConfig
Click to show internal directories.
Click to hide internal directories.