mizchi/mars/router does not have a README file
pub(open) trait Router {
name(Self) -> String
add(Self, Method, String) -> HandlerId
match_(Self, Method, String) -> MatchResult[HandlerId]
}pub(all) type HandlerId Intpub(all) enum Method {
Get
Post
Put
Delete
Patch
Head
Options
Connect
Trace
Query
All
}pub(all) struct Params {
// private fields
}Install
Download zipHono-inspired MoonBit web framework with trie routing, middleware, SSE, and mizchi/x HTTP backend for native and Node.js