]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.14: mention new field net/http/httptest/Server.EnableHTTP2
authorIan Lance Taylor <iant@golang.org>
Fri, 31 Jan 2020 03:15:15 +0000 (19:15 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 31 Jan 2020 05:44:03 +0000 (05:44 +0000)
Updates #34939
Updates #36878

Change-Id: Ifa9a17b5b16bfcfbfe1d113a2b66a63ea3a6b59c
Reviewed-on: https://go-review.googlesource.com/c/go/+/217131
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.14.html

index 949b3d93830ac5cdd54293f59a579960a4b6a107..a7e7ac13b2acc0c9148f2a864eaad46a9d0e808d 100644 (file)
@@ -532,6 +532,17 @@ TODO
 
 </dl><!-- math/big -->
 
+<dl id="net/http/httptest"><dt><a href="/net/http/httptest/">net/http/httptest</a></dt>
+  <dd>
+    <p><!-- CL 201557 -->
+      The
+      new <a href="/pkg/net/http/httptest/#Server"><code>Server</code></a>
+      field <a href="/pkg/net/http/httptest/#Server.EnableHTTP2"><code>EnableHTTP2</code></a>
+      supports enabling HTTP/2 on the test server.
+    </p>
+  </dd>
+</dl><!-- net/http/httptest -->
+
 <dl id="plugin"><dt><a href="/pkg/plugin/">plugin</a></dt>
   <dd>
     <p><!-- CL 191617 -->