Documentation
¶
Index ¶
Constants ¶
View Source
const ContextNameRouterParams = ContextName("routerParams")
ContextNameRouterParams router params context name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params []Param
Params params collection.
type Router ¶
type Router interface {
//ServeHTTP serve as http handler
ServeHTTP(w http.ResponseWriter, r *http.Request)
//StripPrefix strip request prefix and server as a middleware app
StripPrefix(path string) *middleware.App
}
Router router interface
Click to show internal directories.
Click to hide internal directories.