import { Router } from "https://deno.land/x/railgun@v0.6.3/mod.ts";
Properties
routes: Map<string, Middleware>
Methods
all(path: string, handler: RouteHandler)
delete(path: string, handler: RouteHandler)
get(path: string, handler: RouteHandler)
handle(): Middleware
head(path: string, handler: RouteHandler)
options(path: string, handler: RouteHandler)
patch(path: string, handler: RouteHandler)
post(path: string, handler: RouteHandler)
put(path: string, handler: RouteHandler)
route()
unroute(method: string, path: string)