Fix the Timeout comments

This commit is contained in:
iamqizhao 2016-06-06 12:29:41 -07:00
parent 3a6b72b858
commit e4b9b7f606
1 changed files with 2 additions and 1 deletions

View File

@ -338,7 +338,8 @@ type ConnectOptions struct {
Dialer func(string, time.Duration) (net.Conn, error)
// AuthOptions stores the credentials required to setup a client connection and/or issue RPCs.
AuthOptions []credentials.Credentials
Timeout time.Duration
// Timeout specifies the timeout for dialing a ClientTransport.
Timeout time.Duration
}
// NewClientTransport establishes the transport with the required ConnectOptions