Versions in this module Expand all Collapse all v0 v0.1.0 Jan 17, 2026 Changes in this version + type Params map[string]string + type RouteID int + type Router struct + func New() *Router + func (r *Router) Add(method, pattern string) (RouteID, error) + func (r *Router) AddWithHost(method, host, pattern string) (RouteID, error) + func (r *Router) Allowed(path string) []string + func (r *Router) AllowedHost(host, path string) []string + func (r *Router) Match(method, path string) (RouteID, Params, bool) + func (r *Router) MatchHost(method, host, path string) (RouteID, Params, bool)