Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route stores the information that matches a request
func (*Route) HandlerFunc ¶
func (r *Route) HandlerFunc(f http.HandlerFunc)
HandlerFunc sets the handler function that handles the request
func (*Route) Middleware ¶
func (r *Route) Middleware(middleware middleware.Middleware) *Route
Middleware sets the middleware that executed when handling the request
Click to show internal directories.
Click to hide internal directories.