Documentation ¶
Index ¶
- func Delete(r *mux.Router, pat string, h http.Handler, ...) *mux.Route
- func Get(r *mux.Router, pat string, h http.Handler, ...) *mux.Route
- func Head(r *mux.Router, pat string, h http.Handler, ...) *mux.Route
- func Options(r *mux.Router, pat string, h http.Handler, ...) *mux.Route
- func Post(r *mux.Router, pat string, h http.Handler, ...) *mux.Route
- func Put(r *mux.Router, pat string, h http.Handler, ...) *mux.Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(r *mux.Router, pat string, h http.Handler, middleware ...func(http.Handler) http.Handler) *mux.Route
Delete registers a pattern with a handler for DELETE requests.
func Get ¶
func Get(r *mux.Router, pat string, h http.Handler, middleware ...func(http.Handler) http.Handler) *mux.Route
Get registers a pattern with a handler for GET requests.
func Head ¶
func Head(r *mux.Router, pat string, h http.Handler, middleware ...func(http.Handler) http.Handler) *mux.Route
Head registers a pattern with a handler for HEAD requests.
func Options ¶
func Options(r *mux.Router, pat string, h http.Handler, middleware ...func(http.Handler) http.Handler) *mux.Route
Options registers a pattern with a handler for OPTIONS requests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.