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
}
Config holds configuration parameters for the Inbox.
type Inbox ¶
Inbox implements the ActivityPub inbox.
func New ¶
func New(cfg *Config, s store.Store, pubSub pubSub, activityHandler service.ActivityHandler, sigVerifier signatureVerifier) (*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.