Documentation ¶
Index ¶
- Constants
- Variables
- func ConsulGet(url string) (string, bool)
- func Delete(store string, key string) eccerror
- func Execute(args ...string) int
- func Get(store string, key string) ([]byte, int, bool)
- func GetAll(store string) ([][]byte, []int, bool)
- func HasStarted() bool
- func Join(address string) error
- func Leave() error
- func Put(store string, key string, value []byte, oldValue []byte) eccerror
- func Start(serverMode bool, bootstrap bool, bindInterface string, dataDir string) error
- type Store
Constants ¶
View Source
const ( OK = iota OUTDATED ERROR )
View Source
const CONSUL_BASE_URL = "http://localhost:8500/v1/"
View Source
const CONSUL_KV_BASE_URL = "http://localhost:8500/v1/kv/"
View Source
const Version = "0.4.1"
The main version number that is being run at the moment.
View Source
const VersionPrerelease = ""
A pre-release marker for the version. If this is "" (empty string) then it means that it is a final release. Otherwise, this is a pre-release such as "dev" (in development), "beta", "rc1", etc.
Variables ¶
View Source
var Commands map[string]cli.CommandFactory
Commands is the mapping of all the available Consul commands.
View Source
var GitCommit string
The git commit that was compiled. This will be filled in by the compiler.
View Source
var GitDescribe string
View Source
var OfflineSupport bool = true
Functions ¶
func HasStarted ¶
func HasStarted() bool
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/hashicorp/go-checkpoint
checkpoint is a package for checking version information and alerts for a HashiCorp product.
|
checkpoint is a package for checking version information and alerts for a HashiCorp product. |
_workspace/src/github.com/hashicorp/go-msgpack/codec
High Performance, Feature-Rich Idiomatic Go encoding library for msgpack and binc .
|
High Performance, Feature-Rich Idiomatic Go encoding library for msgpack and binc . |
_workspace/src/github.com/hashicorp/golang-lru
This package provides a simple LRU cache.
|
This package provides a simple LRU cache. |
_workspace/src/github.com/hashicorp/hcl
hcl is a package for decoding HCL into usable Go structures.
|
hcl is a package for decoding HCL into usable Go structures. |
_workspace/src/github.com/hashicorp/memberlist
memberlist is a library that manages cluster membership and member failure detection using a gossip based protocol.
|
memberlist is a library that manages cluster membership and member failure detection using a gossip based protocol. |
_workspace/src/github.com/inconshreveable/muxado
muxado is an implementation of a general-purpose stream-multiplexing protocol.
|
muxado is an implementation of a general-purpose stream-multiplexing protocol. |
_workspace/src/github.com/miekg/dns
Package dns implements a full featured interface to the Domain Name System.
|
Package dns implements a full featured interface to the Domain Name System. |
_workspace/src/github.com/miekg/dns/idn
Package idn implements encoding from and to punycode as speficied by RFC 3492.
|
Package idn implements encoding from and to punycode as speficied by RFC 3492. |
_workspace/src/github.com/mitchellh/mapstructure
The mapstructure package exposes functionality to convert an abitrary map[string]interface{} into a native Go structure.
|
The mapstructure package exposes functionality to convert an abitrary map[string]interface{} into a native Go structure. |
Click to show internal directories.
Click to hide internal directories.