memory

package
v1.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServerDiscovery

func NewServerDiscovery(serviceName string, serviceList []string) servicediscovery.IServiceDiscovery

Types

type Registrar

type Registrar struct {
	// contains filtered or unexported fields
}

func (Registrar) Destroy

func (r Registrar) Destroy() error

func (Registrar) GetAllInstances

func (r Registrar) GetAllInstances(serviceName string) []servicediscovery.ServiceInstance

func (Registrar) GetHealthyInstances

func (r Registrar) GetHealthyInstances(serviceName string) []servicediscovery.ServiceInstance

func (Registrar) GetName

func (r Registrar) GetName() string

func (Registrar) Register

func (r Registrar) Register() error

func (Registrar) Unregister

func (r Registrar) Unregister() error

func (Registrar) Update

func (r Registrar) Update() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL