This commit is contained in:
iamqizhao
2015-05-12 18:04:16 -07:00
parent 8c6e829589
commit 5e4f3d16f2

View File

@ -89,9 +89,6 @@ type TransportAuthenticator interface {
ClientHandshake(addr string, rawConn net.Conn, timeout time.Duration) (net.Conn, error)
// ServerHandshake does the authentication handshake for servers.
ServerHandshake(rawConn net.Conn) (net.Conn, error)
// NewListener creates a listener which accepts connections with requested
// authentication handshake.
//NewListener(lis net.Listener) net.Listener
// Info provides the ProtocolInfo of this TransportAuthenticator.
Info() ProtocolInfo
Credentials