consul

package
v0.0.0-...-5537354 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulKV

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

func (*ConsulKV) Deregister

func (r *ConsulKV) Deregister(service *bridge.Service) error

func (*ConsulKV) Ping

func (r *ConsulKV) Ping() error

Ping will try to connect to consul by attempting to retrieve the current leader.

func (*ConsulKV) Refresh

func (r *ConsulKV) Refresh(_ *bridge.Service) error

func (*ConsulKV) Register

func (r *ConsulKV) Register(service *bridge.Service) error

func (*ConsulKV) Services

func (r *ConsulKV) Services() ([]*bridge.Service, error)

type Factory

type Factory struct{}

func (*Factory) New

func (f *Factory) New(uri *url.URL) bridge.RegistryAdapter

Jump to

Keyboard shortcuts

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