mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 17:20:24 +08:00
11 lines
224 B
Go
11 lines
224 B
Go
package httpx
|
|
|
|
import "net/http"
|
|
|
|
type Router interface {
|
|
http.Handler
|
|
Handle(method string, path string, handler http.Handler) error
|
|
SetNotFoundHandler(handler http.Handler)
|
|
SetNotAllowedHandler(handler http.Handler)
|
|
}
|