consul

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: MPL-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

View Source
const (

	// DefaultServiceName is the default Consul service name used when
	// advertising a Vault instance.
	DefaultServiceName = "vault"
)

Variables

This section is empty.

Functions

func NewServiceRegistration

func NewServiceRegistration(conf map[string]string, logger log.Logger, state sr.State) (sr.ServiceRegistration, error)

NewConsulServiceRegistration constructs a Consul-based ServiceRegistration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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