Versions in this module Expand all Collapse all v0 v0.4.0 Jun 14, 2019 Changes in this version + func GetValue(req *http.Request, variable string) string + func SplitInTwo(str string, sep string) (string, string) + type ErrorStatusCode struct + HttpStatus int + type Mux struct + Routes *RouteTrie + Serve func(rw http.ResponseWriter, req *http.Request) + func New() *Mux + func (mux *Mux) CaseSensitive(cs bool) *Mux + func (mux *Mux) Connect(path string, handler http.Handler) *Route + func (mux *Mux) ConnectFunc(path string, handler http.HandlerFunc) *Route + func (mux *Mux) DefaultServe(rw http.ResponseWriter, req *http.Request) + func (mux *Mux) Delete(path string, handler http.Handler) *Route + func (mux *Mux) DeleteFunc(path string, handler http.HandlerFunc) *Route + func (mux *Mux) Get(path string, handler http.Handler) *Route + func (mux *Mux) GetFunc(path string, handler http.HandlerFunc) *Route + func (mux *Mux) Handle(path string, handler http.Handler) + func (mux *Mux) HandleFunc(path string, handler http.HandlerFunc) + func (mux *Mux) Head(path string, handler http.Handler) *Route + func (mux *Mux) HeadFunc(path string, handler http.HandlerFunc) *Route + func (mux *Mux) ListenAndServe(port string) error + func (mux *Mux) NotFound(handler http.Handler) + func (mux *Mux) NotFoundFunc(handlerFunc http.HandlerFunc) + func (mux *Mux) Options(path string, handler http.Handler) *Route + func (mux *Mux) OptionsFunc(path string, handler http.HandlerFunc) *Route + func (mux *Mux) Patch(path string, handler http.Handler) *Route + func (mux *Mux) PatchFunc(path string, handler http.HandlerFunc) *Route + func (mux *Mux) Post(path string, handler http.Handler) *Route + func (mux *Mux) PostFunc(path string, handler http.HandlerFunc) *Route + func (mux *Mux) Prefix(prefix string) *Mux + func (mux *Mux) Put(path string, handler http.Handler) *Route + func (mux *Mux) PutFunc(path string, handler http.HandlerFunc) *Route + func (mux *Mux) Register(method string, path string, handler http.Handler) *Route + func (mux *Mux) ServeHTTP(rw http.ResponseWriter, req *http.Request) + func (mux *Mux) Trace(path string, handler http.Handler) *Route + func (mux *Mux) TraceFunc(path string, handler http.HandlerFunc) *Route + type Route struct + Path string + func NewRoute(url string) *Route + type RouteTrie struct + func (rt *RouteTrie) String(w io.Writer)