Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdDiscovery ¶
type EtcdDiscovery struct {
// contains filtered or unexported fields
}
func NewEtcdDiscovery ¶
func NewEtcdDiscovery(options *regOps.DiscoveryOptions) *EtcdDiscovery
func (*EtcdDiscovery) GetService ¶
func (d *EtcdDiscovery) GetService(ctx context.Context, name 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.