(WIP) implement LMDB peer storage

todo: GC
This commit is contained in:
Lawrence, Rendall
2024-06-14 18:56:44 +03:00
parent 2adbb5f8c7
commit b92c9103b9
6 changed files with 346 additions and 38 deletions
+1
View File
@@ -19,6 +19,7 @@ import (
// Imports to register storage drivers.
_ "github.com/sot-tech/mochi/storage/keydb"
_ "github.com/sot-tech/mochi/storage/mdb"
sm "github.com/sot-tech/mochi/storage/memory"
_ "github.com/sot-tech/mochi/storage/pg"
_ "github.com/sot-tech/mochi/storage/redis"