consul

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Addr string

Addr contains the host:port of the consul server

View Source
var Scheme = "http"

Scheme contains the protocol used to connect to the consul server

URL contains the base URL of the consul server

Functions

func Datacenter

func Datacenter() (string, error)

Datacenter returns the datacenter of the local agent

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(tagPrefix, configPath string) (*Watcher, error)

func (*Watcher) Watch

func (w *Watcher) Watch()

Jump to

Keyboard shortcuts

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