Documentation
¶
Index ¶
- type Entry
- type Option
- type PineBoltdb
- func (b *PineBoltdb) Delete(key string) error
- func (b *PineBoltdb) Exists(key string) bool
- func (b *PineBoltdb) Get(key string) (val []byte, err error)
- func (b *PineBoltdb) GetBoltDB() *bolt.DB
- func (b *PineBoltdb) GetWithUnmarshal(key string, receiver interface{}) error
- func (b *PineBoltdb) Set(key string, val []byte, ttl ...int) error
- func (b *PineBoltdb) SetWithMarshal(key string, structData interface{}, ttl ...int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PineBoltdb ¶
func New ¶
func New(opt Option) *PineBoltdb
func (*PineBoltdb) Delete ¶
func (b *PineBoltdb) Delete(key string) error
func (*PineBoltdb) Exists ¶
func (b *PineBoltdb) Exists(key string) bool
func (*PineBoltdb) GetBoltDB ¶
func (b *PineBoltdb) GetBoltDB() *bolt.DB
func (*PineBoltdb) GetWithUnmarshal ¶
func (b *PineBoltdb) GetWithUnmarshal(key string, receiver interface{}) error
func (*PineBoltdb) SetWithMarshal ¶
func (b *PineBoltdb) SetWithMarshal(key string, structData interface{}, ttl ...int) error
Click to show internal directories.
Click to hide internal directories.