Documentation ¶
Index ¶
- Variables
- type Bolt
- func (s *Bolt) Close() error
- func (s *Bolt) CreateBuckets(buckets Keys) error
- func (s *Bolt) Delete(bucket Key, key Key) error
- func (s *Bolt) Get(bucket Key, receiver ValueReceiver) error
- func (s *Bolt) Put(bucket Key, provider ValueProvider) error
- func (s *Bolt) Update(update func(tx *bbolt.Tx) error) error
- func (s *Bolt) View(view func(tx *bbolt.Tx) error) error
- type Bucket
- type HasKey
- type Key
- type Keys
- type Value
- type ValueProvider
- type ValueReceiver
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrValueNotFound = errors.New("value not found")
Functions ¶
This section is empty.
Types ¶
type Bolt ¶
type Bolt struct {
// contains filtered or unexported fields
}
func NewWithOptions ¶ added in v1.0.0
func (*Bolt) CreateBuckets ¶
type Bucket ¶
type Bucket struct {
// contains filtered or unexported fields
}
func (*Bucket) Get ¶
func (b *Bucket) Get(r ValueReceiver) error
func (*Bucket) Put ¶
func (b *Bucket) Put(p ValueProvider) error
type ValueProvider ¶
type ValueReceiver ¶
Click to show internal directories.
Click to hide internal directories.