consul

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() *consulapi.Client

Client creates a consul client from the consul api

Types

type Consul

type Consul struct {
	Client     consulapi.Client
	KeyData    consulapi.KVPairs
	KeyDataLen int
}

Consul struct is used for consul client such as the client and the actual key data.

func (*Consul) ListKeys

func (c *Consul) ListKeys()

ListKeys lists all the keys from consul with no prefix.

Jump to

Keyboard shortcuts

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