Documentation
¶
Index ¶
- func Add(item vocab.Type, id string, isLiveNotification bool) error
- func SendDirectMessageToAccount(textContent, account string) error
- func SendLive() error
- func SendPublicMessage(textContent string) error
- func SendToFollowers(payload []byte) error
- func SendToUser(inbox *url.URL, payload []byte) error
- func UpdateFollowersWithAccountUpdates() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendDirectMessageToAccount ¶ added in v0.0.12
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 ¶
SendPublicMessage will send a public message to all followers.
func SendToFollowers ¶
SendToFollowers will send an arbitrary payload to all follower inboxes.
func SendToUser ¶ added in v0.0.12
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.
Click to show internal directories.
Click to hide internal directories.