consul

package
v0.0.0-...-3670367 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulProvider

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

func New

func New() (*ConsulProvider, error)

func (*ConsulProvider) MonitorMemberStatusChanges

func (p *ConsulProvider) MonitorMemberStatusChanges()

func (*ConsulProvider) RegisterMember

func (p *ConsulProvider) RegisterMember(clusterName string, address string, port int, knownKinds []string) error

func (*ConsulProvider) Shutdown

func (p *ConsulProvider) Shutdown() error

func (*ConsulProvider) UpdateTTL

func (p *ConsulProvider) UpdateTTL()

Jump to

Keyboard shortcuts

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