fs

package module
v0.0.0-...-423ca5e Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: MIT Imports: 32 Imported by: 1

README

Filesystem 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 Root

func Root(s *repo) *os.Root

Types

type Config

type Config struct {
	Path        string
	CacheEnable bool
	UseIndex    bool
	Logger      lw.Logger
}

type Metadata

type Metadata struct {
	Pw         []byte `jsonld:"pw,omitempty"`
	PrivateKey []byte `jsonld:"key,omitempty"`
}

Metadata is the basic metadata for storing information about an actor. It holds the actor's password and private key, the former being necessary for cross server HTTP signatures.

Directories

Path Synopsis
cmd
gen command

Jump to

Keyboard shortcuts

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