Documentation ¶
Index ¶
- type NacosServer
- func (server *NacosServer) GetServerList() []constant.ServerConfig
- func (server *NacosServer) ReqApi(api string, params map[string]string, method string) (string, error)
- func (server *NacosServer) ReqConfigApi(api string, params map[string]string, headers map[string]string, method string, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NacosServer ¶
func NewNacosServer ¶
func NewNacosServer(serverList []constant.ServerConfig, clientCfg constant.ClientConfig, httpAgent http_agent.IHttpAgent, timeoutMs uint64, endpoint string) (NacosServer, error)
func (*NacosServer) GetServerList ¶
func (server *NacosServer) GetServerList() []constant.ServerConfig
Click to show internal directories.
Click to hide internal directories.