Versions in this module Expand all Collapse all v0 v0.0.2 Aug 3, 2022 v0.0.1 Aug 2, 2022 Changes in this version + var ErrInvalidPath = errors.New("invalid path") + var ErrNotFound = errors.New("not found") + func StaticNamespace(ns string) func(*http.Request) string + type Endpoint struct + Host string + Method string + Name string + Path string + type Option func(o *Options) + func WithHandler(h string) Option + func WithNamespace(n func(*http.Request) string) Option + type Options struct + Handler string + Namespace func(*http.Request) string + func NewOptions(opts ...Option) Options + type Resolver interface + Resolve func(r *http.Request) (*Endpoint, error) + String func() string