inbox

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToQueue

func AddToQueue(req apmodels.InboxRequest)

AddToQueue will queue up an outbound http request.

func InitInboxWorkerPool

func InitInboxWorkerPool()

InitInboxWorkerPool starts n go routines that await ActivityPub jobs.

func Verify

func Verify(request *http.Request) (bool, error)

Verify will Verify the http signature of an inbound request as well as check it against the list of blocked domains. nolint: cyclop

Types

type Job

type Job struct {
	// contains filtered or unexported fields
}

Job struct bundling the ActivityPub and the payload in one struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL