go-proxy/middleware.go

12 lines
196 B
Go
Raw Normal View History

2023-04-24 19:53:37 +02:00
package proxy
2023-04-24 20:14:31 +02:00
import (
"net/http"
)
type (
Middleware func(h http.Handler) http.Handler
RequestTransformer func(r *http.Request)
ResponseTransformer func(r *http.Response) error
)