consul

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Separator = "/"

Separator is the consul kvp separator

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*api.Client
}

Client contains a consul client implementation

type Config

type Config struct {
	api.Config
	TLS *api.TLSConfig
}

Config contains consul client configuration and TLSConfig in a single struct

func (*Config) New

func (c *Config) New() (*Client, error)

New returns an initialized consul client

Jump to

Keyboard shortcuts

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