Skip to content

deepgolani4/LogVaultDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogVaultDB

Lightweight append-only key/value store in Go.

Quick Start

package main

import (
	"fmt"

	barrel "github.com/deepgolani4/LogVaultDB"
)

func main() {
brl, _ := barrel.Init(barrel.WithDir("./data"))
_ = brl.Put("hello", []byte("world"))
val, _ := brl.Get("hello")
fmt.Println(string(val))
}

Examples

  • Full runnable example: examples/example.go

Run it:

go run ./examples

Makefile

Available targets:

make test   # run go test ./...
make fmt    # gofmt all .go files

Notes

  • core/: database lifecycle and orchestration
  • utils/: storage helpers and data structures
  • In-memory Bloom filter speeds up negative Get lookups

Releases

No releases published

Packages

 
 
 

Contributors