This commit is contained in:
iamqizhao
2015-02-26 13:56:10 -08:00
parent 89071b275a
commit 07a87c63f2

View File

@ -73,7 +73,7 @@ type Credentials interface {
type TransportAuthenticator interface {
// Dial connects to the given network address and does the authentication
// handshake specified by the corresponding authentication protocol.
Dial(add string) (net.Conn, error)
Dial(addr string) (net.Conn, error)
// NewListener creates a listener which accepts connections with requested
// authentication handshake.
NewListener(lis net.Listener) net.Listener