Versions in this module Expand all Collapse all v0 v0.2.0-rc0 Oct 17, 2013 v0.1.1 Aug 19, 2013 Changes in this version type Store + func (s *Store) TotalWrites() uint64 v0.1.0 Aug 11, 2013 Changes in this version + var PERMANENT = time.Unix(0, 0) + func CheckKeyword(key string) bool + func GenKeys(num int, depth int) []string + type EtcdStats struct + Deletes uint64 + Gets uint64 + Sets uint64 + TestAndSets uint64 + type Keyword string + func (e Keyword) Error() string + type ListNode struct + Key string + Type string + Value string + type Node struct + ExpireTime time.Time + Value string + type NotFile string + func (e NotFile) Error() string + type NotFoundError string + func (e NotFoundError) Error() string + type Response struct + Action string + Dir bool + Expiration *time.Time + Index uint64 + Key string + NewKey bool + PrevValue string + TTL int64 + Value string + type Store struct + BasicStats EtcdStats + Index uint64 + ResponseCurrSize uint + ResponseMap map[string]*Response + ResponseMaxSize int + ResponseStartIndex uint64 + Tree *tree + func CreateStore(max int) *Store + func (s *Store) AddWatcher(prefix string, watcher *Watcher, sinceIndex uint64) error + func (s *Store) Delete(key string, index uint64) ([]byte, error) + func (s *Store) Get(key string) ([]byte, error) + func (s *Store) RawGet(key string) ([]*Response, error) + func (s *Store) Recovery(state []byte) error + func (s *Store) Save() ([]byte, error) + func (s *Store) Set(key string, value string, expireTime time.Time, index uint64) ([]byte, error) + func (s *Store) SetMessager(messager chan<- string) + func (s *Store) Stats() []byte + func (s *Store) TestAndSet(key string, prevValue string, value string, expireTime time.Time, index uint64) ([]byte, error) + type TestFail string + func (e TestFail) Error() string + type Watcher struct + C chan *Response + func NewWatcher() *Watcher + type WatcherHub struct