Documentation ¶
Index ¶
- type UBoltDB
- func (u *UBoltDB) Close() error
- func (u *UBoltDB) CreateBucket(bucketName string) error
- func (u *UBoltDB) Del(bucketName, key string) error
- func (u *UBoltDB) DeleteBucket(bucketName string) error
- func (u *UBoltDB) Find(bucketName, prefix string, args ...int) (rows []*db.Row, err error)
- func (u *UBoltDB) Get(bucketName, key string) (val []byte, err error)
- func (u *UBoltDB) Set(bucketName, key string, val []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UBoltDB ¶
type UBoltDB struct {
// contains filtered or unexported fields
}
UBoltDB is the db struct by bolt
func (*UBoltDB) CreateBucket ¶
CreateBucket create new bucket by name
func (*UBoltDB) DeleteBucket ¶
DeleteBucket delete the bucket by name
Click to show internal directories.
Click to hide internal directories.