Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
type HandlerFunc func(w http.ResponseWriter, r *http.Request)
type Middleware ¶
type Middleware interface {
Name() string
WrapHandler(HandlerFunc) HandlerFunc
}
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
func NewRoute ¶
func NewRoute(method, path string, handler HandlerFunc) *Route
func (*Route) Handler ¶
func (r *Route) Handler() HandlerFunc
type Server ¶
func (*Server) InstallRouter ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.