Documentation ¶
Overview ¶
Package store provides the badger db to be used by higher level packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { // DataPath must return the path of the directory where the database is or will be created DataPath() string }
Config provides config values for store
func NewConfigInMem ¶
func NewConfigInMem() Config
NewConfigInMem provides a Config with an empty string DataPath causing an in memory database
Click to show internal directories.
Click to hide internal directories.