Documentation ¶
Index ¶
- type Bolt
- func (b *Bolt) Backup(path string) error
- func (b *Bolt) Close() error
- func (b *Bolt) CreateBucket(bucket []byte) error
- func (b *Bolt) Delete(bucket, key []byte) error
- func (b *Bolt) DeleteBucket(bucket []byte) error
- func (b *Bolt) FindAll(bucket []byte) (map[string][]byte, error)
- func (b *Bolt) FindWithPrefix(bucket, prefix []byte) (map[string][]byte, error)
- func (b *Bolt) Get(bucket, key []byte) ([]byte, error)
- func (b *Bolt) GetDB() *bbolt.DB
- func (b *Bolt) IntToByte(v int) []byte
- func (b *Bolt) ListBuckets() ([]string, error)
- func (b *Bolt) Open(path string) error
- func (b *Bolt) Put(bucket, key, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bolt ¶
type Bolt struct {
// contains filtered or unexported fields
}
func (*Bolt) CreateBucket ¶
func (*Bolt) DeleteBucket ¶
func (*Bolt) FindWithPrefix ¶
func (*Bolt) ListBuckets ¶
Click to show internal directories.
Click to hide internal directories.