Liking cljdoc? Tell your friends :D

tservice-core.tasks.http


get-manifestclj

(get-manifest)

Return all manifests which defined in plugins.

Return all manifests which defined in plugins.
raw docstring

get-owner-from-headersclj

(get-owner-from-headers headers)

The first user is treated as the owner.

The first user is treated as the owner.
raw docstring

get-routesclj

(get-routes)

Return all routes which defined in plugins.

Return all routes which defined in plugins.
raw docstring

make-methodcljmultimethod


make-routesclj

(make-routes plugin-name plugin-type & forms)

Make several forms into routes for plugin.

Examples: (make-routes "corrplot" :ChartPlugin {:method-type :get :endpoint "report" :summary "" :query-schema {} :path-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :post :endpoint "report" :summary "" :body-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :put :endpoint "report" :summary "" :body-schema {} :path-schema {} :response-schema {} :handler (fn [context] context)} {:method-type :get :endpoint "report" :summary "" :path-schema {} :response-schema {} :handler (fn [context] context)})

Make several forms into routes for plugin.

Examples:
(make-routes "corrplot" :ChartPlugin
             {:method-type :get
              :endpoint "report"
              :summary ""
              :query-schema {}
              :path-schema {}
              :response-schema {}
              :handler (fn [context] context)}
             {:method-type :post
              :endpoint "report"
              :summary ""
              :body-schema {}
              :response-schema {}
              :handler (fn [context] context)}
             {:method-type :put
              :endpoint "report"
              :summary ""
              :body-schema {}
              :path-schema {}
              :response-schema {}
              :handler (fn [context] context)}
             {:method-type :get
              :endpoint "report"
              :summary ""
              :path-schema {}
              :response-schema {}
              :handler (fn [context] context)})
raw docstring

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

× close