Documentation
¶
Index ¶
- Constants
- type Mux
- func (m *Mux) AddRoute(pattern string, handler http.HandlerFunc, method string)
- func (m *Mux) Delete(pattern string, handler http.HandlerFunc)
- func (m *Mux) Get(pattern string, handler http.HandlerFunc)
- func (m *Mux) Post(pattern string, handler http.HandlerFunc)
- func (m *Mux) Put(pattern string, handler http.HandlerFunc)
- func (m *Mux) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const ( CONNECT = "CONNECT" DELETE = "DELETE" GET = "GET" HEAD = "HEAD" OPTIONS = "OPTIONS" PATCH = "PATCH" POST = "POST" PUT = "PUT" TRACE = "TRACE" )
http method
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.