]> Cypherpunks repositories - gostls13.git/commitdiff
api: add ErrorHandler function to httputil.ReverseProxy
authorAndrew Bonventre <andybons@golang.org>
Thu, 19 Jul 2018 20:31:12 +0000 (16:31 -0400)
committerAndrew Bonventre <andybons@golang.org>
Thu, 19 Jul 2018 20:39:19 +0000 (20:39 +0000)
Change-Id: Ie706c43c9a11cf30ca0f2139a4e9eabac8c75c75
Reviewed-on: https://go-review.googlesource.com/125096
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
api/go1.11.txt

index b0a7f64c5237a13d593cb5d96833ce4b12676f43..4c0bcc74795d05d7504e0e709df03b56b210ecb6 100644 (file)
@@ -458,6 +458,7 @@ pkg net/http, type SameSite int
 pkg net/http, type Transport struct, MaxConnsPerHost int
 pkg net/http/httptrace, type ClientTrace struct, Got1xxResponse func(int, textproto.MIMEHeader) error
 pkg net/http/httptrace, type ClientTrace struct, WroteHeaderField func(string, []string)
+pkg net/http/httputil, type ReverseProxy struct, ErrorHandler func(http.ResponseWriter, *http.Request, error)
 pkg os, const ModeIrregular = 524288
 pkg os, const ModeIrregular FileMode
 pkg os, const ModeType = 2399666176