From 54b06c32f6403b32f08198d3136c10b26975239c Mon Sep 17 00:00:00 2001
From: iamqizhao <toqizhao@gmail.com>
Date: Fri, 1 May 2015 19:12:23 -0700
Subject: [PATCH] rename newly added function

---
 credentials/credentials.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/credentials/credentials.go b/credentials/credentials.go
index 01092049..205fff5e 100644
--- a/credentials/credentials.go
+++ b/credentials/credentials.go
@@ -90,8 +90,8 @@ type TransportAuthenticator interface {
 	// NewListener creates a listener which accepts connections with requested
 	// authentication handshake.
 	NewListener(lis net.Listener) net.Listener
-	// ProtocolInfo provides the ProtocolInfo of this TransportAuthenticator.
-	ProtocolInfo() ProtocolInfo
+	// Info provides the ProtocolInfo of this TransportAuthenticator.
+	Info() ProtocolInfo
 	Credentials
 }
 
@@ -101,7 +101,7 @@ type tlsCreds struct {
 	config tls.Config
 }
 
-func (c *tlsCreds) ProtocolInfo() ProtocolInfo {
+func (c *tlsCreds) Info() ProtocolInfo {
 	return ProtocolInfo{
 		SecurityProtocol: "tls",
 		SecurityVersion:  "1.2",