aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Bonventre <andybons@golang.org>2018-07-19 16:31:12 -0400
committerAndrew Bonventre <andybons@golang.org>2018-07-19 20:39:19 +0000
commitd365890ba6b7b51f69e65d32dd76d3e59f83ece9 (patch)
tree9f5daf60558ae089a7b9bc29385306de681798d7 /api
parentecf8bac9596e6b8e1d00285afe1eee2ceb553c9c (diff)
downloadgo-d365890ba6b7b51f69e65d32dd76d3e59f83ece9.tar.gz
go-d365890ba6b7b51f69e65d32dd76d3e59f83ece9.zip
api: add ErrorHandler function to httputil.ReverseProxy
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>
Diffstat (limited to 'api')
-rw-r--r--api/go1.11.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/go1.11.txt b/api/go1.11.txt
index b0a7f64c52..4c0bcc7479 100644
--- a/api/go1.11.txt
+++ b/api/go1.11.txt
@@ -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