GoActivityPub Wiki

The documentation page was updated.

Processing state machine

Contains the logic for handling the ActivityPub interactions for both Social API and Federation Protocol dissemination in the form of a state machine making decisions based on the Activity and Object types pairs.

Its functionality is governed by the presence of an ActivityPub storage backend and an ActivityPub client implementation that are passed at initialization.

This state machine can be wrapped in standard HTTP Handlers that are compatible with the Go standard library.

Its operation is based on the collection the activity was received in (an inbox or an outbox), the actor that was determined as the author of the activity and the activity itself.

The official documentation has a couple of examples for using the module in order to process activities.

Activity Side effects

On this page you can see a listing of what the default actions are for each supported Activity/Object pair.

Storage interfaces

It defines the interfaces that the storage backends and ActivityPub HTTP client need to implement to be able to work with the rest of the GoActivityPub modules.

Handlers

It also contains additional http.Handler implementations customized for the usage with storage and processing instances and used to output individual objects and collections after retrieving them from storage, and process activities as their arrive in actors’ inboxes or outboxes.