consul

package
v0.0.0-...-a75c791 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConsulAddr        string
	ConsulServiceName string
}

type Registry

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

func (*Registry) Init

func (r *Registry) Init() error

func (*Registry) Name

func (r *Registry) Name() string

func (*Registry) Shutdown

func (r *Registry) Shutdown() error

func (*Registry) WatchServiceUpdates

func (r *Registry) WatchServiceUpdates() chan registry.ServiceUpdate

Jump to

Keyboard shortcuts

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