Back

linear-router (clj)

(source)

function

(linear-router compiled-routes) (linear-router compiled-routes opts)
Creates a linear-router from resolved routes and optional expanded options. See [[router]] for available options, plus the following: | key | description | | -----------------------------|-------------| | `:reitit.trie/trie-compiler` | Optional trie-compiler. | `:reitit.trie/parameters` | Optional function to create empty map(-like) path parameters value from sequence of keys.

Examples