Documentation ¶
Index ¶
- type NacosClient
- func (c *NacosClient) FetchAllServices() (map[client.NacosService]bool, error)
- func (c *NacosClient) GetGroups() []string
- func (c *NacosClient) GetNamespace() string
- func (c *NacosClient) Subscribe(groupName string, serviceName string, ...) error
- func (c *NacosClient) Unsubscribe(groupName string, serviceName string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NacosClient ¶
type NacosClient struct {
// contains filtered or unexported fields
}
func (*NacosClient) FetchAllServices ¶
func (c *NacosClient) FetchAllServices() (map[client.NacosService]bool, error)
func (*NacosClient) GetGroups ¶
func (c *NacosClient) GetGroups() []string
func (*NacosClient) GetNamespace ¶
func (c *NacosClient) GetNamespace() string
func (*NacosClient) Subscribe ¶
func (c *NacosClient) Subscribe(groupName string, serviceName string, callback func(services []client.SubscribeService, err error)) error
func (*NacosClient) Unsubscribe ¶
func (c *NacosClient) Unsubscribe(groupName string, serviceName string, callback func(services []client.SubscribeService, err error)) error
Click to show internal directories.
Click to hide internal directories.