Versions in this module Expand all Collapse all v0 v0.1.0 Mar 23, 2019 Changes in this version + func ParseParams(matched, pattern string) (result string, err error) + type Mux struct + func New() *Mux + func (m *Mux) AddRoute(method, pattern string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) Connect(path string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) Delete(path string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) Get(pattern string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) Group(pattern string) *Mux + func (m *Mux) Head(path string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) NotFoundHandler(h http.Handler) + func (m *Mux) Options(path string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) Patch(path string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) Post(path string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) Put(path string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (m *Mux) Trace(path string, h func(http.ResponseWriter, *http.Request)) error + func (m *Mux) Use(middleware ...func(http.Handler) http.Handler) + type Params map[string]string + func GetParams(r *http.Request) Params + func (p Params) Get(key string) string + func (p Params) Load(src string)