go-proxy/middleware.go

12 lines
196 B
Go

package proxy
import (
"net/http"
)
type (
Middleware func(h http.Handler) http.Handler
RequestTransformer func(r *http.Request)
ResponseTransformer func(r *http.Response) error
)