From 2b8a6035739569694a68571a8eb61565ca8d74b5 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 25 Mar 2013 10:31:19 -0700 Subject: doc: add DialOpt and friends to go1.1.html R=golang-dev, r CC=golang-dev https://codereview.appspot.com/7725048 --- doc/go1.1.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'doc/go1.1.html') diff --git a/doc/go1.1.html b/doc/go1.1.html index 88fd818f6..81ecdca45 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
  • -- cgit v1.2.1