Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router interface {
http.Handler
GET(path string, handler http.HandlerFunc)
POST(path string, handler http.HandlerFunc)
PUT(path string, handler http.HandlerFunc)
HEAD(path string, handler http.HandlerFunc)
DELETE(path string, handler http.HandlerFunc)
Use(mw Middleware)
Param(r *http.Request, key string) string
Group(prefix string) Router
Serve(port string) error
Handle(pattern string, h http.Handler)
HandleFunc(pattern string, h http.HandlerFunc)
}
Router es la interfaz común para cualquier framework web
Click to show internal directories.
Click to hide internal directories.