Versions in this module Expand all Collapse all v0 v0.2.0 Sep 30, 2023 Changes in this version + func NewNacosV2Discovery(options map[string]interface{}) (base.Discovery, error) + func NewNacosV2Registry(options map[string]interface{}) (base.Registry, error) + type NacosServiceClient struct + NamespaceId string + Servers []string + func NewNacosServiceClient(options map[string]interface{}) (*NacosServiceClient, error) + func (ngsc *NacosServiceClient) SelectAllServiceInstances() []model.Instance + type NacosV2Discovery struct + func (nd *NacosV2Discovery) Close() + func (nd *NacosV2Discovery) GetServices() []*base.ServiceInstance + func (nd *NacosV2Discovery) WatchService() <-chan []*base.ServiceInstance + type NacosV2Registry struct + func (ng *NacosV2Registry) Register(ctx context.Context, serviceInstance *base.ServiceInstance) error + func (ng *NacosV2Registry) Unregister(ctx context.Context, name string) error + func (ng *NacosV2Registry) UnregisterAllService(ctx context.Context) error