handler

package
v0.0.0-...-4c68550 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActorHandler

func GetActorHandler(
	config *instance.FederationConfig,
	actorRep *models.ActorRepository,
	signer *crypto.Signer,
) http.HandlerFunc

func GetInboxHandler

func GetInboxHandler(
	config *instance.FederationConfig,
	actorRep *models.ActorRepository,
) http.HandlerFunc

InboxHandler handles inbound federated requests.

func GetObjectHandler

func GetObjectHandler(
	config *instance.FederationConfig,
	signer *crypto.Signer,
) http.HandlerFunc

ObjectHandler handles requests for a single federated ActivityPub object.

func GetOutboxHandler

func GetOutboxHandler(
	signer *crypto.Signer,
	actor *models.Actor,
) http.HandlerFunc

OutboxHandler will handle requests for the local ActivityPub outbox.

func GetRegisterHandler

func GetRegisterHandler(
	config *instance.FederationConfig,
	actorService *services.ActorService,
	followRep *models.FollowRepository,
	sender *outbox.Sender,
) http.HandlerFunc

func GetSharedInboxHandler

func GetSharedInboxHandler(
	config *instance.FederationConfig,
) http.HandlerFunc

InboxHandler handles inbound federated requests.

func GetWebfinger

func GetWebfinger(config *instance.FederationConfig) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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