glimpse.impl.default

Provides a default, extensible implementation of Glimpse.

->DefaultGlimpseImplementation

(->DefaultGlimpseImplementation root options)
Positional factory function for class glimpse.impl.default.DefaultGlimpseImplementation.

->ProductionLoader

(->ProductionLoader root)
Positional factory function for class glimpse.impl.default.ProductionLoader.

->PrototypeLoader

(->PrototypeLoader root)
Positional factory function for class glimpse.impl.default.PrototypeLoader.

->View

(->View view)
Positional factory function for class glimpse.impl.default.View.

construct

multimethod

A multimethod for constructing a mode for the default Glimpse implementation.

A method will receive three arguments: the mode as a keyword, the view path,
and an options map.  The result must be a map with the following:

:construct-view => a function that accepts a uri and creates a view
:not-found      => a function that accepts a uri for which no view is found