Versions in this module Expand all Collapse all v0 v0.2.1 Jul 20, 2016 v0.2.0 Apr 15, 2016 Changes in this version + var ErrBoltBucketOptionMissing = errors.New("boltBucket config option missing") + var ErrMultipleEndpointsUnsupported = errors.New("boltdb supports one endpoint and should be a file path") + func New(endpoints []string, options *store.Config) (store.Store, error) + func Register() + type BoltDB struct + PersistConnection bool + func (b *BoltDB) AtomicDelete(key string, previous *store.KVPair) (bool, error) + func (b *BoltDB) AtomicPut(key string, value []byte, previous *store.KVPair, options *store.WriteOptions) (bool, *store.KVPair, error) + func (b *BoltDB) Close() + func (b *BoltDB) Delete(key string) error + func (b *BoltDB) DeleteTree(keyPrefix string) error + func (b *BoltDB) Exists(key string) (bool, error) + func (b *BoltDB) Get(key string) (*store.KVPair, error) + func (b *BoltDB) List(keyPrefix string) ([]*store.KVPair, error) + func (b *BoltDB) NewLock(key string, options *store.LockOptions) (store.Locker, error) + func (b *BoltDB) Put(key string, value []byte, opts *store.WriteOptions) error + func (b *BoltDB) Watch(key string, stopCh <-chan struct{}) (<-chan *store.KVPair, error) + func (b *BoltDB) WatchTree(directory string, stopCh <-chan struct{}) (<-chan []*store.KVPair, error)