outbox

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package outbox translates automatic actions performed on behalf of users into outgoing activities.

Outgoing activities are queued and delivered by [fed.Queue].

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deleter

type Deleter struct {
	DB    *sql.DB
	Inbox ap.Inbox
}

func (*Deleter) Run

func (d *Deleter) Run(ctx context.Context) error

type Mover

type Mover struct {
	Domain   string
	DB       *sql.DB
	Resolver ap.Resolver
	Keys     [2]httpsig.Key
	Inbox    ap.Inbox
}

func (*Mover) Run

func (m *Mover) Run(ctx context.Context) error

Run makes users who follow a moved account follow the target account instead. It queues two activites for delivery: an Unfollow activity for the old account and a Follow activity for the new one.

type Poller

type Poller struct {
	Domain string
	DB     *sql.DB
	Inbox  ap.Inbox
}

func (*Poller) Run

func (p *Poller) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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