Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Encoding is the default binary encoding Encoding = binary.BigEndian // ErrKeyNotFound is an error indicating a given key does not exist ErrKeyNotFound = errors.New("not found") // ErrBucketNotFound is an error indicating a given key does not exist ErrBucketNotFound = errors.New("bucket not found") // ErrIndexOutdated is an error indicating that the supplied index is outdated ErrIndexOutdated = errors.New("index outdated") )
Functions ¶
Types ¶
type Options ¶
type Options struct { // Path is the file path to the BoltDB to use Path string // BoltOptions contains any specific BoltDB options you might // want to specify [e.g. open timeout] BoltOptions *bolt.Options // NoSync causes the database to skip fsync calls after each // write to the log. This is unsafe, so it should be used // with caution. NoSync bool }
Click to show internal directories.
Click to hide internal directories.