From fc4c5b14ef6906f981bf199a78c08942388fc03c Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 25 Mar 2013 10:31:19 -0700 Subject: [PATCH] doc: add DialOpt and friends to go1.1.html R=golang-dev, r CC=golang-dev https://golang.org/cl/7725048 --- doc/go1.1.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/go1.1.html b/doc/go1.1.html index 88fd818f60..81ecdca45e 100644 --- a/doc/go1.1.html +++ b/doc/go1.1.html @@ -707,6 +707,19 @@ clearly a mistake in Go 1.0. Since this API change fixes a bug, it is permitted by the Go 1 compatibility rules. +
  • +The net package includes a new function, +DialOpt, to supply options to +Dial. +Each option is represented by a new +DialOption interface. +The new functions +Deadline, +Timeout, +Network, and +LocalAddress return a DialOption. +
  • +
  • The new net/http/cookiejar package provides the basics for managing HTTP cookies.
  • @@ -732,7 +745,7 @@ which do ASCII-only trimming of leading and trailing spaces.
  • TODO: -net: DialOption, DialOpt, ListenUnixgram, LookupNS, IPConn.ReadMsgIP, IPConn.WriteMsgIP, UDPConn.ReadMsgUDP, UDPConn.WriteMsgUDP, UnixConn.CloseRead, UnixConn.CloseWrite +net: ListenUnixgram, LookupNS, IPConn.ReadMsgIP, IPConn.WriteMsgIP, UDPConn.ReadMsgUDP, UDPConn.WriteMsgUDP, UnixConn.CloseRead, UnixConn.CloseWrite
  • -- 2.50.0