Liking cljdoc? Tell your friends :D

catacumba.handlers.auth

Authentication and Authorization facilities for catacumba using funcool/buddy

Authentication and Authorization facilities for catacumba
using funcool/buddy 
raw docstring

catacumba.handlers.restful

No vars found in this namespace.

catacumba.impl.atomic

A clojure idiomatic wrapper for JDK atomic types.

A clojure idiomatic wrapper for JDK atomic types.
raw docstring

catacumba.impl.executor

A basic abstraction for executor services.

A basic abstraction for executor services.
raw docstring

catacumba.impl.registry

Functions and helpers for work with ratpack registry.

Functions and helpers for work with ratpack registry.
raw docstring

catacumba.impl.sse

Server-Sent Events handler adapter implementation.

Server-Sent Events handler adapter implementation.
raw docstring

catacumba.impl.websocket

Websocket handler adapter implementation.

Websocket handler adapter implementation.
raw docstring

catacumba.serializers

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}
```
raw docstring

catacumba.testing

Testing facilities for catacuba.

Testing facilities for catacuba.
raw docstring

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

× close