Liking cljdoc? Tell your friends :D

clj-activitypub.core


activitycljmultimethod

Produces a map representing an ActivityPub activity which can be serialized directly to JSON in the form expected by the ActivityStreams 2.0 spec. See https://www.w3.org/TR/activitystreams-vocabulary/ for reference.

Produces a map representing an ActivityPub activity which can be serialized
directly to JSON in the form expected by the ActivityStreams 2.0 spec.
See https://www.w3.org/TR/activitystreams-vocabulary/ for reference.
sourceraw docstring

actorclj

(actor {:keys [user-id username name public-key]})

Accepts a config, and returns a map in the form expected by the ActivityPub spec. See https://www.w3.org/TR/activitypub/#actor-objects for reference.

Accepts a config, and returns a map in the form expected by the ActivityPub
spec. See https://www.w3.org/TR/activitypub/#actor-objects for reference.
sourceraw docstring

configclj

(config {:keys [domain username name user-route public-key private-key]
         :or {user-route "/users/" public-key nil private-key nil}})

Creates hash of computed data relevant for most ActivityPub utilities.

Creates hash of computed data relevant for most ActivityPub utilities.
sourceraw docstring

dateclj

(date)
source

objcljmultimethod

Produces a map representing an ActivityPub object which can be serialized directly to JSON in the form expected by the ActivityStreams 2.0 spec. See https://www.w3.org/TR/activitystreams-vocabulary/ for reference.

Produces a map representing an ActivityPub object which can be serialized
directly to JSON in the form expected by the ActivityStreams 2.0 spec.
See https://www.w3.org/TR/activitystreams-vocabulary/ for reference.
sourceraw docstring

with-configclj

(with-config config)

Returns curried forms of the #activity and #obj multimethods in the form {:activity ... :obj ...}, with the initial parameter set to config.

Returns curried forms of the #activity and #obj multimethods in the form
{:activity ... :obj ...}, with the initial parameter set to config.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close