consul

package
v0.0.0-...-19d66a1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (registry.Registry, error)

Types

type Registry

type Registry struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Registry) Deregister

func (r *Registry) Deregister(s registry.Service) error

func (*Registry) GetService

func (r *Registry) GetService(name string) ([]*registry.Service, error)

func (*Registry) List

func (r *Registry) List() ([]*registry.Service, error)

func (*Registry) Register

func (r *Registry) Register(s registry.Service) error

Jump to

Keyboard shortcuts

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