database

package
v0.4.0-beta Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func Open

func Open(path string) (Database, error)

func (Database) DB

func (d Database) DB() *badger.DB

func (Database) MissingKeys

func (d Database) MissingKeys(ctx context.Context, keys [][]byte) ([][]byte, error)

MissingKeys return missing keys in database.

func (Database) Worker

func (d Database) Worker(ctx context.Context)

Jump to

Keyboard shortcuts

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