# Functions
AcquireLock creates a pseudo lock in etcd with a specific ttl.
Create set the value of a key only if it does not exits.
Get returns the value inside a key or an empty string.
GetHTTPEtcdUrls returns an array of urls that contains at least one host.
GetList returns the list of elements inside a key or an empty list.
Mkdir creates a directory only if does not exists.
NewClient create a etcd client using the given machine list.
PublishService publish a service to etcd periodically.
ReleaseLock releases the existing lock.
Set sets the value of a key.
SetDefault sets the value of a key without expiration.
WaitForKeys wait for the required keys up to the timeout or forever if is nil.