Documentation ¶
Index ¶
- type BoltDBStore
- func (s *BoltDBStore) Close() error
- func (s *BoltDBStore) CreateBucket(bucket string) error
- func (s *BoltDBStore) Delete(bucket string, key string) error
- func (s *BoltDBStore) ForEach(bucket string, fn func(k string, v []byte) error) error
- func (s *BoltDBStore) Get(bucket string, key string) ([]byte, error)
- func (s *BoltDBStore) GetSwap(bucket string, key string, fn func([]byte) ([]byte, error)) error
- func (s *BoltDBStore) Open() error
- func (s *BoltDBStore) Put(bucket string, key string, value []byte) error
- type BoltDBStoreBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltDBStore ¶
type BoltDBStore struct {
// contains filtered or unexported fields
}
func (*BoltDBStore) Close ¶
func (s *BoltDBStore) Close() error
func (*BoltDBStore) CreateBucket ¶
func (s *BoltDBStore) CreateBucket(bucket string) error
func (*BoltDBStore) Open ¶
func (s *BoltDBStore) Open() error
type BoltDBStoreBuilder ¶
type BoltDBStoreBuilder struct { }
func (*BoltDBStoreBuilder) Name ¶
func (b *BoltDBStoreBuilder) Name() string
Click to show internal directories.
Click to hide internal directories.