type net/http/httputil.ReverseProxy
14 uses
net/http/httputil (current package)
reverseproxy.go#L41: type ReverseProxy struct {
reverseproxy.go#L142: func NewSingleHostReverseProxy(target *url.URL) *ReverseProxy {
reverseproxy.go#L158: return &ReverseProxy{Director: director}
reverseproxy.go#L186: func (p *ReverseProxy) defaultErrorHandler(rw http.ResponseWriter, req *http.Request, err error) {
reverseproxy.go#L191: func (p *ReverseProxy) getErrorHandler() func(http.ResponseWriter, *http.Request, error) {
reverseproxy.go#L200: func (p *ReverseProxy) modifyResponse(rw http.ResponseWriter, res *http.Response, req *http.Request) bool {
reverseproxy.go#L212: func (p *ReverseProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
reverseproxy.go#L400: func (p *ReverseProxy) flushInterval(res *http.Response) time.Duration {
reverseproxy.go#L417: func (p *ReverseProxy) copyResponse(dst io.Writer, src io.Reader, flushInterval time.Duration) error {
reverseproxy.go#L445: func (p *ReverseProxy) copyBuffer(dst io.Writer, src io.Reader, buf []byte) (int64, error) {
reverseproxy.go#L476: func (p *ReverseProxy) logf(format string, args ...interface{}) {
reverseproxy.go#L544: func (p *ReverseProxy) handleUpgradeResponse(rw http.ResponseWriter, req *http.Request, res *http.Response) {
golang.org/x/pkgsite/internal/frontend
playground.go#L32: func makePlaygroundProxy(pgURL *url.URL) *httputil.ReverseProxy {
playground.go#L33: return &httputil.ReverseProxy{
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |