Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllowedEnginesDefault = []hivedb.Engine{ hivedb.EngineAuto, hivedb.EngineRocksDB, } AllowedEnginesStorage = []hivedb.Engine{ hivedb.EngineRocksDB, } AllowedEnginesStorageAuto = append(AllowedEnginesStorage, hivedb.EngineAuto) )
Functions ¶
func NewRocksDB ¶
NewRocksDB creates a new RocksDB instance.
func StoreWithDefaultSettings ¶
func StoreWithDefaultSettings(path string, createDatabaseIfNotExists bool, dbEngine hivedb.Engine, readonly bool, allowedEngines ...hivedb.Engine) (kvstore.KVStore, error)
StoreWithDefaultSettings returns a kvstore with default settings. It also checks if the database engine is correct.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.