FaultTree v0.1.0 FaultTree.Router View Source

Handler for HTTP requests.

Link to this section Summary

Functions

Returns true whenever the list of templates changes in the filesystem.

Returns the template root alongside all template filenames.

Callback implementation for Plug.call/2.

Pass-through route that matches all parameters. This ensures that the plug pipeline won't die if there are more plugs after this module.

Callback implementation for Plug.init/1.

Link to this section Functions

Link to this function

__template_recompile__?() View Source

Returns true whenever the list of templates changes in the filesystem.

Returns the template root alongside all template filenames.

Callback implementation for Plug.call/2.

Link to this function

do_match(arg1, arg2, arg3) View Source

Pass-through route that matches all parameters. This ensures that the plug pipeline won't die if there are more plugs after this module.

Callback implementation for Plug.init/1.

Link to this function

render_template(binary, arg) View Source