Liking cljdoc? Tell your friends :D

monkey.ci.agent.api-server

Functionality for running a multi-build api server. This is very similar to the single-build api server, but it allows to register multiple builds, each with their own token. The token must be specified in the request, and it allows the request handlers to determine the build associated with the request.

Functionality for running a multi-build api server.  This is very similar to the
single-build api server, but it allows to register multiple builds, each with
their own token.  The token must be specified in the request, and it allows the
request handlers to determine the build associated with the request.
raw docstring

bearer-regexclj

source

build-middlewareclj

(build-middleware handler builds)

Looks up the build associated with the security token and stores it in the context, so it can be used by the request handlers.

Looks up the build associated with the security token and stores it in the context,
so it can be used by the request handlers.
sourceraw docstring

get-tokenclj

source

make-routerclj

(make-router {:keys [builds] :as conf})
source

security-middlewareclj

(security-middleware handler builds)

Middleware that checks if the authorization header matches the specified token

Middleware that checks if the authorization header matches the specified token
sourceraw docstring

start-serverclj

(start-server conf)
source

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

× close