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 instance-actor-route public-key
                private-key]
         :or {user-route "/users/"
              instance-actor-route "/actor"
              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

instance-actorclj

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

Accepts a config, and returns a map in the form expected by the ActivityPub spec.

Accepts a config, and returns a map in the form expected by the ActivityPub
spec.
sourceraw docstring

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