Liking cljdoc? Tell your friends :D

carmine.ring

Carmine-backed Ring session store. Adapted from clj-redis-session.

Carmine-backed Ring session store. Adapted from clj-redis-session.
raw docstring

ICarmineSessionStorecljprotocol

set-connclj

(set-conn this pool spec)
source

make-carmine-storeclj

(make-carmine-store
  &
  {:keys [connection-pool connection-spec key-prefix expiration-secs]
   :or {key-prefix "carmine:session" expiration-secs (str (* 60 60 24 30))}})

Creates and returns a Carmine-backed Ring SessionStore. Use 'expiration-secs' to specify how long session data will survive after last write. When nil, sessions will never expire.

Creates and returns a Carmine-backed Ring SessionStore. Use 'expiration-secs'
to specify how long session data will survive after last write. When nil,
sessions will never expire.
sourceraw docstring

new-session-keyclj

(new-session-key prefix)
source

wccljmacro

(wc & body)
source

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

× close