Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GorillaRouter ¶
type GorillaRouter struct {
// contains filtered or unexported fields
}
GorillaRouter wraps a gorilla/mux router. It allows to use variables and regexps in URL path and query values.
func New ¶
func New() *GorillaRouter
func (*GorillaRouter) HandleFunc ¶
func (gr *GorillaRouter) HandleFunc(method, pattern string, handler func(http.ResponseWriter, *http.Request))
func (*GorillaRouter) ServeHTTP ¶
func (gr *GorillaRouter) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.