Tools for listing endpoints & route descriptions.
Tools for listing endpoints & route descriptions.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close