registry

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilInfo          = errors.New("registry info can't be nil")
	ErrNilAddr          = errors.New("registry addr can't be nil")
	ErrEmptyServiceName = errors.New("registry service name can't be empty")
	ErrMissIP           = errors.New("addr missing ip")
	ErrMissPort         = errors.New("addr missing port")
)

Functions

func NewEurekaRegistry

func NewEurekaRegistry(servers []string, heatBeatInterval time.Duration) registry.Registry

NewEurekaRegistry creates a eureka registry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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