boltdb

package module
v0.0.0-...-ee91fb7 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 19 Imported by: 1

README

BoltDB storage for GoActivitypub

builds.sr.ht status Coveralls GitHub License

Expanded documentation

For more information about how the module works in the scope of the GoActivityPub library, see the expanded documentation.

For discussions about the projects you can write to the discussions mailing list: ~mariusor/go-activitypub-discuss@lists.sr.ht

For patches and bug reports please use the dev mailing list: ~mariusor/go-activitypub-dev@lists.sr.ht

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorInvalidRoot = func(b []byte) error {
	return errors.NotFoundf("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 struct {
	Pw         []byte `jsonld:"pw,omitempty"`
	PrivateKey []byte `jsonld:"key,omitempty"`
}

Jump to

Keyboard shortcuts

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