Documentation ¶
Index ¶
- type BBoltKv
- func (bb *BBoltKv) CreateBucket(bkt string) error
- func (bb *BBoltKv) GetByStrKeyValueJson(bkt string, k string, v interface{}) error
- func (bb *BBoltKv) GetLast(bkt string, va ViewValueCallBack) error
- func (bb *BBoltKv) GteInter(bkt string, va ViewValueCallBack) error
- func (bb *BBoltKv) PutWithBkt(bkt string, k, v []byte) error
- func (bb *BBoltKv) PutWithBktByteKeyJson(bkt string, k []byte, v interface{}) error
- func (bb *BBoltKv) PutWithBktManyJson(bkt string, mp map[string]interface{}) error
- func (bb *BBoltKv) PutWithBktStrKey(bkt string, k string, v []byte) error
- func (bb *BBoltKv) PutWithBktStrKeyJson(bkt string, k string, v interface{}) error
- type ViewValueCallBack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BBoltKv ¶
func NewBBolt ¶
https://pkg.go.dev/go.etcd.io/bbolt#readme-bbolt db, err := bolt.Open("my.db", 0600, nil)
func (*BBoltKv) CreateBucket ¶
func (*BBoltKv) GetByStrKeyValueJson ¶
func (*BBoltKv) PutWithBktByteKeyJson ¶
func (*BBoltKv) PutWithBktManyJson ¶
func (*BBoltKv) PutWithBktStrKey ¶
type ViewValueCallBack ¶
Click to show internal directories.
Click to hide internal directories.