controllers

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActorHandler

func ActorHandler(w http.ResponseWriter, r *http.Request)

ActorHandler handles requests for a single actor.

func ActorObjectHandler

func ActorObjectHandler(w http.ResponseWriter, r *http.Request)

ActorObjectHandler will handle the request for a single ActivityPub object.

func FollowersHandler

func FollowersHandler(w http.ResponseWriter, r *http.Request)

FollowersHandler will return the list of remote followers on the Fediverse.

func HostMetaController

func HostMetaController(w http.ResponseWriter, r *http.Request)

HostMetaController points to webfinger.

func InboxHandler

func InboxHandler(w http.ResponseWriter, r *http.Request)

InboxHandler handles inbound federated requests.

func InstanceV1Controller

func InstanceV1Controller(w http.ResponseWriter, r *http.Request)

InstanceV1Controller returns the v1 instance details.

func NodeInfoController

func NodeInfoController(w http.ResponseWriter, r *http.Request)

NodeInfoController returns the V1 node info response.

func NodeInfoV2Controller

func NodeInfoV2Controller(w http.ResponseWriter, r *http.Request)

NodeInfoV2Controller returns the V2 node info response.

func ObjectHandler

func ObjectHandler(w http.ResponseWriter, r *http.Request)

ObjectHandler handles requests for a single federated ActivityPub object.

func OutboxHandler

func OutboxHandler(w http.ResponseWriter, r *http.Request)

OutboxHandler will handle requests for the local ActivityPub outbox.

func WebfingerHandler

func WebfingerHandler(w http.ResponseWriter, r *http.Request)

WebfingerHandler will handle webfinger lookup requests.

func XNodeInfo2Controller

func XNodeInfo2Controller(w http.ResponseWriter, r *http.Request)

XNodeInfo2Controller returns the x-nodeinfo2.

Types

This section is empty.

Jump to

Keyboard shortcuts

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