Skip to main content
Module

x/bureau/mod.ts>Routes

Bureau Double CMS
Go to Latest
interface Routes
Re-export
import { type Routes } from "https://deno.land/x/bureau@0.0.30/mod.ts";

A record of route paths and MatchHandlers which are called when a match is found along with it's values.

The route paths follow the URLPattern format with the addition of being able to prefix a route with a method name and the @ sign. For example a route only accepting GET requests would look like: GET@/.

Type Parameters

optional
T = { }

Index Signatures

[key: string]: Routes<T> | MatchHandler<T>