db

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFind = errors.New("没找到")

Functions

This section is empty.

Types

type BBolt

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

func NewBBolt

func NewBBolt(path string) (*BBolt, error)

func (*BBolt) GetArg

func (b *BBolt) GetArg(cxt context.Context, blake3 string) (model.ConvertArg, error)

func (*BBolt) PutArg

func (b *BBolt) PutArg(cxt context.Context, blake3 string, arg model.ConvertArg) error

type DB

type DB interface {
	GetArg(cxt context.Context, blake3 string) (model.ConvertArg, error)
	PutArg(cxt context.Context, blake3 string, arg model.ConvertArg) error
}

Jump to

Keyboard shortcuts

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