(base64decode to-decode)
(base64encode to-encode)
(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.
(date->string)
(date->string date)
(date-time)
(date-time value)
(decrypt body name)
(escape value)
(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.
(get-current-time-ms)
(get-env name & [default])
(get-property name & [default])
(hmac-sha256 secret message)
(http-delete url request & {:keys [raw]})
(http-get url request & {:keys [raw]})
(http-post url request & {:keys [raw]})
(http-put url request & {:keys [raw]})
(is-in-past date)
(load-config name)
(to-edn json)
(to-json edn)
(url-encode message)
(wrap-body request)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close