Authentication and Authorization facilities for catacumba using funcool/buddy
Authentication and Authorization facilities for catacumba using funcool/buddy
No vars found in this namespace.
Http Sessions support for Catacumba.
Http Sessions support for Catacumba.
A clojure idiomatic wrapper for JDK atomic types.
A clojure idiomatic wrapper for JDK atomic types.
Functions and helpers for work in a clojure way with ratpack types.
Functions and helpers for work in a clojure way with ratpack types.
A basic abstraction for executor services.
A basic abstraction for executor services.
Functions and helpers for work with ratpack registry.
Functions and helpers for work with ratpack registry.
Server-Sent Events handler adapter implementation.
Server-Sent Events handler adapter implementation.
Websocket handler adapter implementation.
Websocket handler adapter implementation.
A friction-less and extensioble serializers abstraction layer.
The main public api consists in two functions:
encode
: that takes the clojure data and the serialization format
as keyword and returns serialized bytes.decode
: just does the reverse operation. It takes the a byte array
and returns a deserialized data.If something wrong is happens in the process, the underlying library used for serialize or deserialize can raise exceptions.
Here an simple example serializing and deserializing a clojure hash-map using json format:
(require '[catacumba.serializers :as sz])
(-> (sz/encode {:foo 2} :json)
(sz/bytes->str))
;; => "{\"foo\": 2}"
(sz/decode some-data :json)
;; => {:foo 2}
A friction-less and extensioble serializers abstraction layer. The main public api consists in two functions: - `encode`: that takes the clojure data and the serialization format as keyword and returns serialized bytes. - `decode`: just does the reverse operation. It takes the a byte array and returns a deserialized data. If something wrong is happens in the process, the underlying library used for serialize or deserialize can raise exceptions. Here an simple example serializing and deserializing a clojure hash-map using json format: ``` (require '[catacumba.serializers :as sz]) (-> (sz/encode {:foo 2} :json) (sz/bytes->str)) ;; => "{\"foo\": 2}" (sz/decode some-data :json) ;; => {:foo 2} ```
Testing facilities for catacuba.
Testing facilities for catacuba.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close