]> Cypherpunks repositories - gostls13.git/commitdiff
api: more go1.6 API additions
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 8 Jan 2016 20:06:04 +0000 (20:06 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 8 Jan 2016 20:33:53 +0000 (20:33 +0000)
Change-Id: Ib838d2b98e3f84ffd240849817cafc69415ba74e
Reviewed-on: https://go-review.googlesource.com/18376
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

api/go1.6.txt

index 936692584532dcc5073894d8a9fe8fcb309afb20..109ce7a05c244ab857f3f357fc6bdfd11715d6d9 100644 (file)
@@ -185,6 +185,7 @@ pkg go/constant, func ToComplex(Value) Value
 pkg go/constant, func ToFloat(Value) Value
 pkg go/constant, func ToInt(Value) Value
 pkg go/constant, type Value interface, ExactString() string
+pkg go/types, method (*Package) SetName(string)
 pkg html/template, func IsTrue(interface{}) (bool, bool)
 pkg html/template, method (*Template) DefinedTemplates() string
 pkg image, func NewNYCbCrA(Rectangle, YCbCrSubsampleRatio) *NYCbCrA
@@ -241,6 +242,8 @@ pkg net/http, const StatusRequestHeaderFieldsTooLarge = 431
 pkg net/http, const StatusRequestHeaderFieldsTooLarge ideal-int
 pkg net/http, const StatusTooManyRequests = 429
 pkg net/http, const StatusTooManyRequests ideal-int
+pkg net/http, const StatusUnavailableForLegalReasons = 451
+pkg net/http, const StatusUnavailableForLegalReasons ideal-int
 pkg net/http, type Transport struct, ExpectContinueTimeout time.Duration
 pkg net/http, type Transport struct, TLSNextProto map[string]func(string, *tls.Conn) RoundTripper
 pkg net/http, var ErrSkipAltProtocol error