activitypub_stream

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoostAny

func BoostAny(context Context, activity streams.Document) error

func DeleteAny added in v0.7.0

func DeleteAny(context Context, activity streams.Document) error

func GetChildrenCollection added in v0.7.0

func GetChildrenCollection(ctx *steranko.Context, factory *domain.Factory) error

GetChildrenCollection returns a collection of all child streams for a given parent stream

func GetFollowersCollection

func GetFollowersCollection(serverFactory *server.Factory) echo.HandlerFunc

func GetJSONLD

func GetJSONLD(serverFactory *server.Factory) echo.HandlerFunc

func GetOutboxCollection

func GetOutboxCollection(serverFactory *server.Factory) echo.HandlerFunc

func GetRepliesCollection

func GetRepliesCollection(serverFactory *server.Factory) echo.HandlerFunc

func GetResponseCollection

func GetResponseCollection(serverFactory *server.Factory, responseType string) echo.HandlerFunc

func PostInbox

func PostInbox(serverFactory *server.Factory) echo.HandlerFunc

Types

type Context

type Context struct {
	// contains filtered or unexported fields
}

Context includes all of the necessary objects to handle an ActivityPub request

func (Context) ActivityPubActor added in v0.7.0

func (context Context) ActivityPubActor(withFollowers bool) (outbox.Actor, error)

Jump to

Keyboard shortcuts

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