Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// DiskLess is used to set if running in non database filename mode.
DiskLess bool
// DatabasePath is used to identify database filename and path.
// Set unique path to avoid database file collision.
DatabasePath string
}
Config describes configuration of a namespace.
type NameSpace ¶
type NameSpace struct {
Config
// contains filtered or unexported fields
}
NameSpace defines a storage space.
func NewNameSpace ¶
NewNameSpace creates a new namespace for storing key-value data.
Click to show internal directories.
Click to hide internal directories.