type net/http/httputil.ReverseProxy
12 uses
net/http/httputil (current package)
reverseproxy.go#L114: type ReverseProxy struct {
reverseproxy.go#L333: func NewSingleHostReverseProxy(target *url.URL) *ReverseProxy {
reverseproxy.go#L337: return &ReverseProxy{Director: director}
reverseproxy.go#L377: func (p *ReverseProxy) defaultErrorHandler(rw http.ResponseWriter, req *http.Request, err error) {
reverseproxy.go#L382: func (p *ReverseProxy) getErrorHandler() func(http.ResponseWriter, *http.Request, error) {
reverseproxy.go#L391: func (p *ReverseProxy) modifyResponse(rw http.ResponseWriter, res *http.Response, req *http.Request) bool {
reverseproxy.go#L403: func (p *ReverseProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
reverseproxy.go#L679: func (p *ReverseProxy) flushInterval(res *http.Response) time.Duration {
reverseproxy.go#L696: func (p *ReverseProxy) copyResponse(dst http.ResponseWriter, src io.Reader, flushInterval time.Duration) error {
reverseproxy.go#L725: func (p *ReverseProxy) copyBuffer(dst io.Writer, src io.Reader, buf []byte) (int64, error) {
reverseproxy.go#L756: func (p *ReverseProxy) logf(format string, args ...any) {
reverseproxy.go#L820: func (p *ReverseProxy) handleUpgradeResponse(rw http.ResponseWriter, req *http.Request, res *http.Response) {