Liking cljdoc? Tell your friends :D

transpriem-api.web.route


endpointclj

(endpoint endpoint-names & {:keys [trailing-slash] :or {trailing-slash false}})

Create an endpoint.

Create an endpoint.
raw docstring

help-handlerclj

(help-handler help-data)

Help handler.

Help handler.
raw docstring

not-found-handlerclj

(not-found-handler)

routecljmacro

(route endpoint-names
       route-data
       &
       {:keys [trailing-slash] :or {trailing-slash true}})

Create route.

Create route.
raw docstring

simple-routercljmacro

(simple-router &
               {:keys [name description lookup-field options list create
                       retrieve update delete others]
                :or {options {}
                     description ""
                     lookup-field :id
                     create (not-found-handler)
                     retrieve (not-found-handler)
                     name ""
                     update (not-found-handler)
                     delete (not-found-handler)
                     list (not-found-handler)
                     others []}})

Simple router that create routes for: list, create, retrieve, update, delete.

Simple router that create routes for: list, create, retrieve, update, delete.
raw docstring

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

× close