router.go 224 B

12345678910
  1. package httpx
  2. import "net/http"
  3. type Router interface {
  4. http.Handler
  5. Handle(method string, path string, handler http.Handler) error
  6. SetNotFoundHandler(handler http.Handler)
  7. SetNotAllowedHandler(handler http.Handler)
  8. }