Documentation
¶
Index ¶
Constants ¶
View Source
const ( EcodeEventIndexCleared = ee.EcodeEventIndexCleared EcodeNodeExist = ee.EcodeNodeExist EcodeKeyNotFound = ee.EcodeKeyNotFound )
Variables ¶
This section is empty.
Functions ¶
func DisableDebugLogging ¶
func DisableDebugLogging()
func EnableDebugLogging ¶
func EnableDebugLogging()
Types ¶
type Client ¶
type Client interface {
GetCluster() []string
SetTransport(tr *http.Transport)
CompareAndDelete(key string, prevValue string, prevIndex uint64) (*goetcd.Response, error)
Create(key string, value string, ttl uint64) (*goetcd.Response, error)
Delete(key string, recursive bool) (*goetcd.Response, error)
Get(key string, sort, recursive bool) (*goetcd.Response, error)
RawGet(key string, sort, recursive bool) (*goetcd.RawResponse, error)
Set(key string, value string, ttl uint64) (*goetcd.Response, error)
Update(key string, value string, ttl uint64) (*goetcd.Response, error)
Watch(prefix string, waitIndex uint64, recursive bool, receiver chan *goetcd.Response, stop chan bool) (*goetcd.Response, error)
}
Click to show internal directories.
Click to hide internal directories.