type net/http/httputil.ReverseProxy
12 uses
net/http/httputil (current package)
reverseproxy.go#L43: type ReverseProxy struct {
reverseproxy.go#L144: func NewSingleHostReverseProxy(target *url.URL) *ReverseProxy {
reverseproxy.go#L160: return &ReverseProxy{Director: director}
reverseproxy.go#L188: func (p *ReverseProxy) defaultErrorHandler(rw http.ResponseWriter, req *http.Request, err error) {
reverseproxy.go#L193: func (p *ReverseProxy) getErrorHandler() func(http.ResponseWriter, *http.Request, error) {
reverseproxy.go#L202: func (p *ReverseProxy) modifyResponse(rw http.ResponseWriter, res *http.Response, req *http.Request) bool {
reverseproxy.go#L214: func (p *ReverseProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
reverseproxy.go#L411: func (p *ReverseProxy) flushInterval(res *http.Response) time.Duration {
reverseproxy.go#L428: func (p *ReverseProxy) copyResponse(dst io.Writer, src io.Reader, flushInterval time.Duration) error {
reverseproxy.go#L456: func (p *ReverseProxy) copyBuffer(dst io.Writer, src io.Reader, buf []byte) (int64, error) {
reverseproxy.go#L487: func (p *ReverseProxy) logf(format string, args ...any) {
reverseproxy.go#L555: func (p *ReverseProxy) handleUpgradeResponse(rw http.ResponseWriter, req *http.Request, res *http.Response) {