Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsActivityPubContentType ¶
IsActivityPubContentType returns TRUE if the provided contentType is a valid ActivityPub content type. https://www.w3.org/TR/activitystreams-core/#media-type
func IsActivityPubRequest ¶ added in v0.15.1
IsActivityPubRequest returns TRUE if the request's "Accept" header is an ActivityPub content type.
func IsUndoableActivity ¶ added in v0.13.1
IsUndoableActivity returns TRUE if the provided activityType is one that can be undone (as opposed to an activity that must be "Deleted")
func NotActivityPubRequest ¶ added in v0.15.1
NotActivityPubRequest returns TRUE if the request's "Accept" header IS NOT an ActivityPub content type.
func TimeFormat ¶
TimeFormat returns a string representation of the provided time value, using the format designated by the W3C spec: https://www.w3.org/TR/activitystreams-core/#dates
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package collection is an HTTP interface for GET-ing activities from an ActivityPub collection.
|
Package collection is an HTTP interface for GET-ing activities from an ActivityPub collection. |
|
Package iterator provides utilities for iterating through remote collections (represented as streams.Documents)
|
Package iterator provides utilities for iterating through remote collections (represented as streams.Documents) |
|
Package sender provides an object and queue consumer that can send outbound ActivityPub activities from an outbox to actor's inbox URLs.
|
Package sender provides an object and queue consumer that can send outbound ActivityPub activities from an outbox to actor's inbox URLs. |
|
Package sigs implements the IETF draft specification "Signing HTTP Messages" https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures
|
Package sigs implements the IETF draft specification "Signing HTTP Messages" https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures |