Versions in this module Expand all Collapse all v0 v0.10.3 Jun 19, 2020 v0.10.2 Jun 19, 2020 Changes in this version + func FileServe(dir string) http.HandlerFunc + func Param(ctx context.Context, p string) string + func WithParam(ctx context.Context, p, v string) context.Context + type Router struct + func New() *Router + func (r *Router) Del(path string, h http.HandlerFunc) + func (r *Router) Get(path string, h http.HandlerFunc) + func (r *Router) Options(path string, h http.HandlerFunc) + func (r *Router) Post(path string, h http.HandlerFunc) + func (r *Router) Put(path string, h http.HandlerFunc) + func (r *Router) Redirect(w http.ResponseWriter, req *http.Request, path string, code int) + func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) + func (r *Router) WithInstrumentation(instrh func(handlerName string, handler http.HandlerFunc) http.HandlerFunc) *Router + func (r *Router) WithPrefix(prefix string) *Router