Versions in this module Expand all Collapse all v0 v0.2.0 Feb 21, 2022 v0.1.0 Jan 5, 2022 Changes in this version + type Route interface + Handler func() http.HandlerFunc + Method func() string + Path func() string + func NewDeleteRoute(path string, handler http.HandlerFunc, opts ...RouteWrapper) Route + func NewGetRoute(path string, handler http.HandlerFunc, opts ...RouteWrapper) Route + func NewHeadRoute(path string, handler http.HandlerFunc, opts ...RouteWrapper) Route + func NewOptionsRoute(path string, handler http.HandlerFunc, opts ...RouteWrapper) Route + func NewPostRoute(path string, handler http.HandlerFunc, opts ...RouteWrapper) Route + func NewPutRoute(path string, handler http.HandlerFunc, opts ...RouteWrapper) Route + func NewRoute(method, path string, handler http.HandlerFunc, opts ...RouteWrapper) Route + type RouteWrapper func(r Route) Route + type Router interface + DumpRoutes func() + Routes func() []Route