Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NacosDiscovery ¶
type NacosDiscovery struct {
// contains filtered or unexported fields
}
func NewNacosDiscovery ¶
func NewNacosDiscovery(options *regOps.DiscoveryOptions) *NacosDiscovery
func (*NacosDiscovery) GetService ¶
func (d *NacosDiscovery) GetService(_ context.Context, serviceName string) ([]*registry.ServiceInstance, error)
GetService return the service instances in memory according to the service name.
Click to show internal directories.
Click to hide internal directories.