Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServiceEndpoint string ServiceIRI *url.URL Topic string VerifyActorInSignature bool SubscriberPoolSize int }
Config holds configuration parameters for the Inbox.
type Inbox ¶
Inbox implements the ActivityPub inbox.
func New ¶
func New(cnfg *Config, s store.Store, pubSub pubSub, activityHandler service.ActivityHandler, sigVerifier signatureVerifier, tm authTokenManager, metrics metricsProvider) (*Inbox, error)
New returns a new ActivityPub inbox.
func (*Inbox) HTTPHandler ¶
func (h *Inbox) HTTPHandler() common.HTTPHandler
HTTPHandler returns the HTTP handler which is invoked by the HTTP server. This handler must be registered with an HTTP server.
Click to show internal directories.
Click to hide internal directories.