package
Version:
v1.1.0-beta.16
Opens a new window with list of versions in this module.
Published: Aug 2, 2022
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
¶
NewDB returns DB with default options.
NewDBWithConfigPath returns DB with options from config path.
NewDBWithOptions returns DB with options.
type Options struct {
Path string
SyncPolicy int
AutoShrink struct {
Percentage int
MinSize int
Disabled bool
}
}
NewOptions returns options from config file or environment vars.
NewOptionsWithPath unmarshals options based a given key path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.