consul

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanLock

func CleanLock(lock *consulapi.Lock) error

CleanLock attempts to release a lock and destroy it

Types

type Consul

type Consul struct {
	Client *consulapi.Client
}

Consul represents a means for interacting with a remote consul client.

func NewClient

func NewClient(address string, proxy string, token string) (*Consul, error)

NewClient creates a new consul client

Jump to

Keyboard shortcuts

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