Liking cljdoc? Tell your friends :D

verbo.sokka.utils


->bytesclj

(->bytes s)

->compressorclj


base64->bytesclj

(base64->bytes to-decode)

buffered-input-stream?clj

(buffered-input-stream? val)

byte-array-typeclj


byte-array?clj

(byte-array? val)

byte-buffer?clj

(byte-buffer? val)

bytes->base64clj

(bytes->base64 b)

bytes->byte-bufferclj

(bytes->byte-buffer bs)

deep-mergeclj

(deep-merge & maps)

Like merge, but merges maps recursively.

Like merge, but merges maps recursively.
raw docstring

defaliascljmacro

(defalias dest src)

Create a local var with the same value of a var from another namespace

Create a local var with the same value of a var from another namespace
raw docstring

DEFAULT_NIPPY_CONFIGclj


deserializeclj

(deserialize val)
(deserialize val config)

lazy-mapcatclj

(lazy-mapcat f coll)

maps a function over a collection and lazily concatenate all the results.

maps a function over a collection and
lazily concatenate all the results.
raw docstring

lazy-queryclj

(lazy-query q)
(lazy-query q start-from)

Takes a query as a lambda function and retunrs a lazy pagination over the items

Takes a query as a lambda function and retunrs
a lazy pagination over the items
raw docstring

nowclj

(now)

query-results->paginated-responseclj

(query-results->paginated-response result)
(query-results->paginated-response tf {:keys [LastEvaluatedKey Items] :as e})

transform result of a dynamodb query to a paginated response with keys :cursor and :data. Takes an optional transformation function that will be applied to all items in the result.

transform result of a dynamodb query to a paginated response with
keys :cursor and :data. Takes an optional transformation function
that will be applied to all items in the result.
raw docstring

rand-idclj

(rand-id)

Returns a 128 bit random id (based on UUID) in a short format. It generates a random UUID and then encodes it into base36.

Returns a 128 bit random id (based on UUID) in a short format.
It generates a random UUID and then encodes it into base36.
raw docstring

scrollclj

(scroll qfn)
(scroll qfn {:keys [limit next-page] :as cursor})

Wraps the query function qfn supplied in a lazy sequence. qfn must accept one argument cursor and return a map containing keys :data and :cursor (next cursor). :data must be a collection. If there are no more items to return, the :cursor must be nil.

Wraps the query function `qfn` supplied in a lazy sequence. `qfn`
must accept one argument `cursor` and return a map containing
keys :data and :cursor (next cursor). :data must be a collection. If
there are no more items to return, the :cursor must be nil.
raw docstring

serializeclj

(serialize val)
(serialize val config)

slurp-bytesclj

(slurp-bytes x)

Slurp the bytes from a slurpable thing

Slurp the bytes from a slurpable thing
raw docstring

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

× close