badger

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

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 21 Imported by: 1

README

Badger based storage for GoActivitypub

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(_ 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
	CacheEnable bool
	LogFn       loggerFn
	ErrFn       loggerFn
}

Config

type Filterable

type Filterable = vocab.LinkOrIRI

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