consul

package
v0.0.0-...-5c345c6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2016 License: MIT Imports: 7 Imported by: 0

README

consul

consul

Usage

func New
func New(addr string) (kv.KV, error)

New instantiates a consul kv implementation. The parameter addr may be the empty string or a valid URL. If addr is not empty it must be a valid URL with schemes http, https or consul; consul is synonymous with http. If addr is the empty string the consul client will connect to the default address, which may be influenced by the environment.

-- Generated with godocdown

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(addr string) (kv.KV, error)

New instantiates a consul kv implementation. The parameter addr may be the empty string or a valid URL. If addr is not empty it must be a valid URL with schemes http, https or consul; consul is synonymous with http. If addr is the empty string the consul client will connect to the default address, which may be influenced by the environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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