//
pkg.gl
Category
github.com/xoreo/meros
database
package
0.0.0-20200318030619-7b85739c12b0
Repository:
https://github.com/xoreo/meros.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
12
Dependents
0
Files
232 SLOC
#
Functions
IDFromString
IDFromString returns an ID given a string.
Open
Open opens the database for reading and writing.
#
Constants
FILEDB
FILEDB the marker for a file database.
NSHARDDB
NSHARDDB is the marker for the node's shard database.
#
Structs
Database
Database implements a general database that holds various data within meros.
#
Type aliases
DBType
DBType represents the type of database of the instance, either a node's shard database or the main file database.
ID
ID represents a hash for the keys in the database.