mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
server proxy, router opts and optional CORS.
This commit is contained in:
@ -17,9 +17,7 @@ type Router interface {
|
||||
Patch(pattern string, fn RouterHandler)
|
||||
Delete(pattern string, fn RouterHandler)
|
||||
With(fn MiddlewareHandler) Router
|
||||
WithBypass(fn func(next http.Handler) http.Handler) Router
|
||||
Use(fn MiddlewareHandler)
|
||||
UseBypass(fn func(next http.Handler) http.Handler)
|
||||
ServeHTTP(w http.ResponseWriter, req *http.Request)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user