Versions in this module Expand all Collapse all v0 v0.2.0 Mar 13, 2020 Changes in this version + const UserAgentString + type ActivityPub struct + func New(db *gorm.DB) *ActivityPub + func (ap *ActivityPub) AuthenticateGetInbox(c context.Context, w http.ResponseWriter, r *http.Request) (out context.Context, authenticated bool, err error) + func (ap *ActivityPub) AuthenticateGetOutbox(c context.Context, w http.ResponseWriter, r *http.Request) (out context.Context, authenticated bool, err error) + func (ap *ActivityPub) AuthenticatePostInbox(c context.Context, w http.ResponseWriter, r *http.Request) (out context.Context, authenticated bool, err error) + func (ap *ActivityPub) Blocked(c context.Context, actorIRIs []*url.URL) (blocked bool, err error) + func (ap *ActivityPub) Callbacks(c context.Context) (wrapped pub.FederatingWrappedCallbacks, other []interface{}, err error) + func (ap *ActivityPub) DefaultCallback(c context.Context, activity pub.Activity) error + func (ap *ActivityPub) Federate(c context.Context, user model.User, f model.Federater) + func (ap *ActivityPub) FilterForwarding(c context.Context, potentialRecipients []*url.URL, a pub.Activity) (filteredRecipients []*url.URL, err error) + func (ap *ActivityPub) GetInbox(c context.Context, r *http.Request) (vocab.ActivityStreamsOrderedCollectionPage, error) + func (ap *ActivityPub) GetOutbox(c context.Context, r *http.Request) (vocab.ActivityStreamsOrderedCollectionPage, error) + func (ap *ActivityPub) MaxDeliveryRecursionDepth(c context.Context) int + func (ap *ActivityPub) MaxInboxForwardingRecursionDepth(c context.Context) int + func (ap *ActivityPub) NewFederatingActor() pub.FederatingActor + func (ap *ActivityPub) NewTransport(c context.Context, actorBoxIRI *url.URL, gofedAgent string) (t pub.Transport, err error) + func (ap *ActivityPub) PostInboxRequestBodyHook(c context.Context, r *http.Request, activity pub.Activity) (context.Context, error)