Liking cljdoc? Tell your friends :D

framework.auth.hash

Cryptography helper for creating, and resolving passwords. Supported algorithms are bcrypr, pbkdf2, and scrypt. The required algorithm should be in (-> state :deps :auth :hash-algorithm)

Cryptography helper for creating, and resolving passwords.
Supported algorithms are bcrypr, pbkdf2, and scrypt.
The required algorithm should be in (-> state :deps :auth :hash-algorithm)
raw docstring

framework.coercion.core

Request and response validation by given malli rules. The rule can be defined at route definition, the schema can be defined with registry function.

Path definition example:

["/api/siege-machines/{mydomain/id}" {:hander ws/handler-fn :action mydomain.siege-machines/get-by-id :parameters {:path [:map [:mydomain/id int?]]} :responses {200 {:body :mydomain/SiegeMachine}}}]

Registry example: (registry {:mydomain/SiegeMachine [:map [:id int?] [:name keyword?] [:range {:optional true} int?] [:created {:optional true} inst?]] :mydomain/Infantry [:map [:id int?] [:name keyword?] [:attack {:optional true} int?]]})

Request and response validation by given malli rules.
The rule can be defined at route definition,
the schema can be defined with registry function.

Path definition example:

["/api/siege-machines/{mydomain/id}" {:hander     ws/handler-fn
                                        :action     mydomain.siege-machines/get-by-id
                                        :parameters {:path [:map [:mydomain/id int?]]}
                                        :responses  {200 {:body :mydomain/SiegeMachine}}}]
                                        
Registry example: 
 (registry {:mydomain/SiegeMachine [:map
                                      [:id int?]
                                      [:name keyword?]
                                      [:range {:optional true} int?]
                                      [:created {:optional true} inst?]]
             :mydomain/Infantry [:map
                                   [:id int?]
                                   [:name keyword?]
                                   [:attack {:optional true} int?]]})
raw docstring

framework.config.core

Solves environment and config variables

Solves environment and config variables
raw docstring

framework.handler.core

Provides the default handler function

Provides the default handler function
raw docstring

framework.interceptor.muuntaja

Muuntaja interceptor encoder/decode..

Muuntaja interceptor encoder/decode..
raw docstring

framework.interceptor.queue

Interceptor executor. Collects and executes interceptors and the given action in between.

Interceptor executor.
Collects and executes interceptors and the given action in between.
raw docstring

framework.interceptor.wrap

To wrap any kind of middlewares and interceptors to xiana flow.

To wrap any kind of middlewares and interceptors to xiana flow.
raw docstring

framework.rbac.core

Integrates tiny-RBAC library to the xiana flow

Integrates tiny-RBAC library to the xiana flow
raw docstring

framework.route.core

Do the routing, and inject request data to the xiana state

Do the routing, and inject request data to the xiana state
raw docstring

framework.route.helpers

The default not found and action functions

The default not found and action functions
raw docstring

framework.webserver.core

Lifecycle management of the webserver

Lifecycle management of the webserver
raw docstring

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

× close