Liking cljdoc? Tell your friends :D

lambda.util


*cache*clj


base64decodeclj

(base64decode to-decode)

base64encodeclj

(base64encode to-encode)

d-timecljmacro

(d-time message & expr)

Evaluates expr and logs time it took. Returns the value of expr.

Evaluates expr and logs time it took.  Returns the value of
expr.
raw docstring

date->stringclj

(date->string)
(date->string date)

date-timeclj

(date-time)
(date-time value)

decryptclj

(decrypt body name)

escapeclj

(escape value)

fix-keysclj

(fix-keys val)

This is used to represent as close as possible when we store to external storage as JSON. Because we are using :keywordize keys for convenience. Problem is when map keys are in aggregate stored as strings. Then when they are being read from storage they are being keywordized. This is affecting when we are caching aggregate between calls because in this case cached aggregate would not represent real aggregate without cache. Other scenario is for tests because in tests we would get aggregate with string keys while in real scenario we would have keys as keywords.

This is used to represent as close as possible when we store
to external storage as JSON. Because we are using :keywordize keys
for convenience. Problem is when map keys are in aggregate stored as strings.
Then when they are being read from storage they are being keywordized.
This is affecting when we are caching aggregate between calls because in
this case cached aggregate would not represent real aggregate without cache.
Other scenario is for tests because in tests we would get aggregate with string
keys while in real scenario we would have keys as keywords.
raw docstring

get-current-time-msclj

(get-current-time-ms)

get-envclj

(get-env name & [default])

get-propertyclj

(get-property name & [default])

hmac-sha256clj

(hmac-sha256 secret message)

http-deleteclj

(http-delete url request & {:keys [raw]})

http-getclj

(http-get url request & {:keys [raw]})

http-postclj

(http-post url request & {:keys [raw]})

http-putclj

(http-put url request & {:keys [raw]})

is-in-pastclj

(is-in-past date)

json-mapperclj


load-configclj

(load-config name)

offset-date-time-formatclj


to-ednclj

(to-edn json)

to-jsonclj

(to-json edn)

url-encodeclj

(url-encode message)

wrap-bodyclj

(wrap-body request)

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

× close