db

package
v1.3.0-rc Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	Close() error
	GetLowerBound() (uint64, error)
	SetLowerBound(v uint64) error
	SetUpperBound(uint64) error
	GetUpperBound() (uint64, error)
	SetValue(uint64) error
	GetMissingValuesBitSet(uint64, uint64) (*bitset.BitSet, error)
	Cleanup() error
}

func New

func New(o DBOpts) (DB, error)

func NewBoltDB

func NewBoltDB() (DB, error)

type DBOpts

type DBOpts struct {
	Logg   *slog.Logger
	DBType string
}

Jump to

Keyboard shortcuts

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