Initial commit: bolt, map, leveldb support and test

This commit is contained in:
Bel LaPointe
2019-03-13 14:06:46 -06:00
commit 8a1cf7104c
7 changed files with 220 additions and 0 deletions

9
db.go Normal file
View File

@@ -0,0 +1,9 @@
package storage
type DB interface {
Get(string) ([]byte, error)
Set(string, []byte) error
Close() error
}
var DefaultNamespace = "namespace"