package
Version:
v0.0.0-...-89edfd8
Opens a new window with list of versions in this module.
Published: Apr 24, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Delete a key from target bucket
Get value from bucket by key
GetAllKeys get all keys from the target bucket
InitBolt inits bolt database. Create the file if not exist.
By default it opens the file in 0600 mode, with a 10 seconds timeout period
Put a key/value pair into target bucket
type BoltPair struct {
Key []byte
Value []byte
}
BoltPair is a struct to store key/value pair data
GetAllKeyValues get all key/value pairs from a bucket in BoltPair struct format
Source Files
¶
Click to show internal directories.
Click to hide internal directories.