class MyRouter

Defined in:

example.cr

Constant Summary

ROUTES = {} of String => Array(Crouter::Route)

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from class Crouter::Router

call(context) call

Constructor methods inherited from class Crouter::Router

new(mountpoint = "") new

Class Method Detail

def self.routes #

[View source]

Instance Method Detail

def call(context) #

[View source]

Macro Detail

macro delete(pattern, action) #

[View source]
macro delete(pattern) #

[View source]
macro get(pattern, action) #

[View source]
macro get(pattern) #

[View source]
macro group(prefix) #

[View source]
macro patch(pattern, action) #

[View source]
macro patch(pattern) #

[View source]
macro post(pattern, action) #

[View source]
macro post(pattern) #

[View source]
macro put(pattern, action) #

[View source]
macro put(pattern) #

[View source]