Versions in this module Expand all Collapse all v1 v1.1.0 Jan 2, 2021 Changes in this version + func SplitPath(path string) []string + type DynamicRouter struct + func NewDynamicRouter() *DynamicRouter + func (r *DynamicRouter) HandleFunc(pattern string, handler Handler, filters ...HttpFilter) + func (r *DynamicRouter) ServeHTTP(res http.ResponseWriter, req *http.Request) + func (r *DynamicRouter) ServeStaticAt(root string, mode FileServerMode) + type FileServerMode string + const Classic + const Spa + type Handler func(context.Context, http.ResponseWriter, *http.Request) + func WrapHttpHandleFunc(f func(w http.ResponseWriter, r *http.Request)) Handler + type HttpFilter func(http.ResponseWriter, *http.Request) bool