Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObjectURL ¶
func NewActivityPubVocabService ¶
func NewActivityPubVocabService( urlGenerator urlgenerator.URLGenerator, ) *activityPubService
Types ¶
type VocabService ¶
type VocabService interface { GetActor(*domainmodels.User) (map[string]any, error) GetFollowers(*domainmodels.User) (map[string]any, error) GetFollowing(*domainmodels.User) (map[string]any, error) GetOutbox(*domainmodels.User) (map[string]any, error) GetAccept( user *models.User, act streams.ActivityStreamsInterface, ) (vocab.ActivityStreamsAccept, error) GetReject( user *models.User, act streams.ActivityStreamsInterface, ) (vocab.ActivityStreamsReject, error) GetCreateNoteFromTweet(string, twittermodels.Tweet) (vocab.ActivityStreamsCreate, error) }
Click to show internal directories.
Click to hide internal directories.