From 8c6e829589d607d579aad9da4f0654a9c9e127c5 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Tue, 12 May 2015 18:02:38 -0700 Subject: [PATCH] cleanup --- clientconn.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/clientconn.go b/clientconn.go index 4f7fb36b..25c9282e 100644 --- a/clientconn.go +++ b/clientconn.go @@ -104,15 +104,6 @@ func WithDialer(f func(addr string, timeout time.Duration) (net.Conn, error)) Di } } -// WithHandshaker returns a DialOption that specifies a function to perform some handshaking -// with the server. It is typically used to negotiate the wire protocol version and security -// protocol with the server. -//func WithHandshaker(h func(conn net.Conn) (credentials.TransportAuthenticator, error)) DialOption { -// return func(o *dialOptions) { -// o.copts.Handshaker = h -// } -//} - // Dial creates a client connection the given target. // TODO(zhaoq): Have an option to make Dial return immediately without waiting // for connection to complete.