Skip to content

B1NARY-GR0UP/originium

Repository files navigation

ORIGINIUM

LSM-Tree based storage engine used by FOIVER system.

Install

go get -u github.com/B1NARY-GR0UP/originium

Usage

  • Open
// use originium.Config to customize the db behavior
db, err := originium.Open("your-dir", originium.DefaultConfig)
  • Set
db.Set("hello", []byte("originium"))
  • Get
v, ok := db.Get("hello")
  • Scan
entries := db.Scan("start", "end")
  • Delete
db.Delete("hello")
  • Close
db.Close()

Blogs

License

ORIGINIUM is distributed under the Apache License 2.0. The licenses of third party dependencies of ORIGINIUM are explained here.

ECOLOGY

PROJECT: FOIVER

ORIGINIUM is Part of PROJECT: FOIVER