1234567891011 |
- package httpx
- import "net/http"
- // Router interface represents a http router that handles http requests.
- type Router interface {
- http.Handler
- Handle(method, path string, handler http.Handler) error
- SetNotFoundHandler(handler http.Handler)
- SetNotAllowedHandler(handler http.Handler)
- }
|