outbox

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(item vocab.Type, id string, isLiveNotification bool) error

Add will save an ActivityPub object to the datastore.

func SendDirectMessageToAccount added in v0.0.12

func SendDirectMessageToAccount(textContent, account string) error

SendDirectMessageToAccount will send a direct message to a single account.

func SendLive

func SendLive() error

SendLive will send all followers the message saying you started a live stream.

func SendPublicMessage

func SendPublicMessage(textContent string) error

SendPublicMessage will send a public message to all followers.

func SendToFollowers

func SendToFollowers(payload []byte) error

SendToFollowers will send an arbitrary payload to all follower inboxes.

func SendToUser added in v0.0.12

func SendToUser(inbox *url.URL, payload []byte) error

SendToUser will send a payload to a single specific inbox.

func UpdateFollowersWithAccountUpdates

func UpdateFollowersWithAccountUpdates() error

UpdateFollowersWithAccountUpdates will send an update to all followers alerting of a profile update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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