lib

package
v0.0.0-...-5837f0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromRecord

func FromRecord(rec Record) []byte

Types

type App

type App struct {
	Db *badger.DB
}

func (*App) GetValue

func (a *App) GetValue(key []byte) []byte

func (*App) SetValue

func (a *App) SetValue(key, value []byte) bool

type Record

type Record struct {
	Hash string
	Data []byte
}

func ToRecord

func ToRecord(data []byte) Record

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL