Documentation
¶
Overview ¶
Package mux implements simple HTTP with greedy patterns
Index ¶
- func GetParams(r *http.Request) map[string]string
- type Mux
- func (m *Mux) Add(method string, pattern string, handler http.Handler)
- func (m *Mux) Del(pattern string, handler http.Handler)
- func (m *Mux) Get(pattern string, handler http.Handler)
- func (m *Mux) Head(pattern string, handler http.Handler)
- func (m *Mux) Options(pattern string, handler http.Handler)
- func (m *Mux) Patch(pattern string, handler http.Handler)
- func (m *Mux) Post(pattern string, handler http.Handler)
- func (m *Mux) Put(pattern string, handler http.Handler)
- func (m *Mux) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mux ¶
Mux is a simple HTTP muxer
Click to show internal directories.
Click to hide internal directories.