Documentation ¶
Index ¶
- type Client
- func (c *Client) GetConfig(dataID, group, namespaceID string) (*types.NacosConfig, error)
- func (c *Client) ListConfigs(namespaceID string) ([]*types.NacosConfig, error)
- func (c *Client) ListNamespaces() ([]*types.NacosNamespace, error)
- func (c *Client) UpdateConfig(dataID, group, namespaceID, content, format string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *httpclient.Client UserName string Password string // contains filtered or unexported fields }
func NewNacosClient ¶
func (*Client) GetConfig ¶
func (c *Client) GetConfig(dataID, group, namespaceID string) (*types.NacosConfig, error)
func (*Client) ListConfigs ¶
func (c *Client) ListConfigs(namespaceID string) ([]*types.NacosConfig, error)
func (*Client) ListNamespaces ¶
func (c *Client) ListNamespaces() ([]*types.NacosNamespace, error)
func (*Client) UpdateConfig ¶
Click to show internal directories.
Click to hide internal directories.