Documentation ¶
Index ¶
- Variables
- func Opened() bool
- type DB
- func (DB) Connected() bool
- func (DB) Count(bucket string) (count int)
- func (DB) DbWriteTo(w io.Writer) (err error)
- func (DB) Delete(bucket, key string) (err error)
- func (DB) DeleteBucket(bucket string) (err error)
- func (DB) DeleteNested(key []byte, buckets ...[]byte) (err error)
- func (DB) Get(bucket, key string) (result []byte, err error)
- func (DB) GetAll(bucket string) (result [][]byte, err error)
- func (DB) GetAllKeys(bucket string) (data []string, err error)
- func (DB) GetAllKeysByPrefix(bucket, _prefix string) (data []string, err error)
- func (DB) GetAllUnmarshalled(bucket string) (result []M, err error)
- func (DB) GetFromNested(bucket, nestedBucket, key string) (result M, err error)
- func (DB) GetNextSequenceForBucket(bucket string, subBucket *string) (sequence int, err error)
- func (DB) GetUnmarshalled(bucket, key string) (result M, err error)
- func (DB) GetUnmarshalledIntoInterface(bucket, key string, _interface interface{}) (err error)
- func (DB) Inc(bucket, key, propPath string, inc float64) (result M, err error)
- func (DB) Save(bucket, key string, value interface{}) (err error)
- func (DB) SaveInNested(bucket, nestedBucket, key string, value interface{}) (err error)
- type M
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BoltDB *bolt.DB
)
Functions ¶
Types ¶
type DB ¶
type DB struct{}
func (DB) DeleteBucket ¶
func (DB) GetAllKeysByPrefix ¶
func (DB) GetFromNested ¶
func (DB) GetNextSequenceForBucket ¶
func (DB) GetUnmarshalledIntoInterface ¶
func (DB) SaveInNested ¶
Click to show internal directories.
Click to hide internal directories.