Documentation ¶
Index ¶
- type BoltDB
- func (boltdb *BoltDB) Add(bucketName, key, value []byte) (err error)
- func (boltdb *BoltDB) AddBucket(bucketName []byte) (err error)
- func (boltdb *BoltDB) Close()
- func (boltdb *BoltDB) Delete(bucketName, key []byte) (err error)
- func (boltdb *BoltDB) RemoveBucket(bucketName []byte) (err error)
- func (boltdb *BoltDB) Update(bucketName, key, value []byte) (err error)
- func (boltdb *BoltDB) View() (views []BoltView, err error)
- type BoltView
- type BucketView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltDB ¶
type BoltDB struct {
// contains filtered or unexported fields
}
BoltDB method struct
func (*BoltDB) RemoveBucket ¶
Removes the bucket from the DB file
type BoltView ¶
type BoltView struct { BucketName string `json:"bucket_name"` BucketView []BucketView `json:"bucket_view"` }
BoltView struct for bucket-key-value mapping
type BucketView ¶
BucketView struct for key-value mapping
Click to show internal directories.
Click to hide internal directories.