Liking cljdoc? Tell your friends :D

routes.tools

Tools for listing endpoints & route descriptions.

Tools for listing endpoints & route descriptions.
raw docstring

listingclj/s

(listing routes)

Generate a sequence of route descriptions from a Routes data structure, where each route description has :path, :endpoint, and potentially :keys.

Generate a sequence of route descriptions from a Routes data structure,
where each route description has :path, :endpoint, and potentially :keys.
sourceraw docstring

PatternListingclj/sprotocol

pattern-listingclj/s

(pattern-listing this m)

Update m with the path components and keys required by this, a Pattern. Because a Pattern can be a set, which can match multiple paths, this function returns a seq of updated m's.

Update `m` with the path components and keys required by `this`, a Pattern.
Because a Pattern can be a set, which can match multiple paths, this function
returns a seq of updated `m`'s.
source

RoutesListingclj/sprotocol

routes-listingclj/s

(routes-listing this m)

Generate a sequence of route descriptions from this, a Routes data structure, where a route description has :path, :endpoint, and potentially :keys. The map m propogates the higher-level path components & keys down to the endpoints.

Generate a sequence of route descriptions from `this`, a Routes data structure,
where a route description has :path, :endpoint, and potentially :keys.
The map `m` propogates the higher-level path components & keys down to the endpoints.
source

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

× close