Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleRoute ¶
func HandleRoute(mux *http.ServeMux, route string, handler http.Handler)
HandleRoute handles a route and strips off the route path
func StripLeaveSlash ¶
func StripLeaveSlash(prefix string, h http.Handler) http.Handler
like http.StripPrefix, but always leaves an initial slash. (so that our regexps will work.)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.