Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateMetaServers() []string
- func (c *Client) ListenerResults(confFile, crc string) ([]base.ClientReportRspItem, error)
- func (c *Client) MetaGet(url string) ([]string, error)
- func (c *Client) Polling(configServer string) error
- func (c *Client) PostConf(confFile, raw, clientIps string) (string, error)
- func (c *Client) ReadConfig(namespace string, wait bool) <-chan bool
- type MetaRsp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client defines the apollo client.
func MakeClient ¶
func MakeClient(c *base.Context, fileRaw chan base.FileRawWait) *Client
MakeClient makes a apollo client.
func (*Client) CreateMetaServers ¶
CreateMetaServers creates the meta servers addresses.
func (*Client) ListenerResults ¶
func (c *Client) ListenerResults(confFile, crc string) ([]base.ClientReportRspItem, error)
ListenerResults gets the listener results from the server.
Click to show internal directories.
Click to hide internal directories.