Documentation ¶
Index ¶
- Constants
- func Factory(config map[string]interface{}, logger hclog.Logger) (storage.Storage, error)
- func NewBatchLevelDB(db *leveldb.DB) *batchLevelDB
- func NewLevelDBStorage(path string, logger hclog.Logger) (storage.Storage, error)
- func NewLevelDBStorageWithOpt(path string, logger hclog.Logger, opts *opt.Options) (storage.Storage, error)
Constants ¶
View Source
const ( DefaultCache = int(256) DefaultHandles = int(256) )
Variables ¶
This section is empty.
Functions ¶
func NewBatchLevelDB ¶ added in v1.1.0
func NewLevelDBStorage ¶
NewLevelDBStorage creates the new storage reference with leveldb default options
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.