boltdb

package module
v0.0.0-...-67cd4e1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 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

type Metadata

type Metadata = au.Metadata

Jump to

Keyboard shortcuts

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