API Reference mar v#0.2.6

Copy Markdown

Modules

Mar

Using Mar makes the module a route. It injects Mar.Route protocol and a struct. Set a path or the default is "/". Add parameters in the path or in the params list.

Mar.Route protocol lets you access Plug.Conn.