registry

package
v3.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableMemory

func EnableMemory()

func EnableService

func EnableService(hostname string, port string)

func NewRegistryWithExpiry

func NewRegistryWithExpiry(r registry.Registry, duration time.Duration) registry.Registry

func NewRegistryWithPeers

func NewRegistryWithPeers(r registry.Registry) registry.Registry

func NewRegistryWithProcesses

func NewRegistryWithProcesses(r registry.Registry) registry.Registry

func NewRegistryWithUnique

func NewRegistryWithUnique(r registry.Registry) registry.Registry

func RetryOnError

func RetryOnError(ctx context.Context, req client.Request, retryCount int, err error) (bool, error)

RetryOnError retries a request on a 500 or timeout error

Types

This section is empty.

Source Files

  • registry.go
  • wrapper.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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