Maru v0.10.0 Maru.Builder.DSLs
General DSLs for parsing router.
Summary
Macros
Define plugs which execute before routes match
Define description do current endpoint
Mount another router to current router
Define params block of current endpoint
Save shared param to module attribute
Define pipeline block of current endpoint
Push a Plug
struct to current scope
Push a Plug
struct with options and guards to current scope
Push a overridable Plug
struct to current scope
Push a overridable Plug
struct with options and guards to current scope
Define path prefix of current router
Define version of current router
version: “v1”, do … end: Version of routes within block
Macros
Push a overridable Plug
struct with options and guards to current scope.