boltdb

package module
v0.0.0-...-242f6a0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 20 Imported by: 1

README

BoltDB storage for GoActivitypub

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorInvalidRoot = func(b []byte) error {
	return errors.Errorf("Invalid root bucket %s", b)
}

Functions

func Bootstrap

func Bootstrap(conf Config) error

func Clean

func Clean(conf Config) error

func New

func New(c Config) (*repo, error)

New returns a new repo repository

func Path

func Path(c Config) (string, error)

Types

type Config

type Config struct {
	Path  string
	LogFn loggerFn
	ErrFn loggerFn
}

Config

Jump to

Keyboard shortcuts

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