This commit is contained in:
iamqizhao 2015-05-01 18:52:19 -07:00
Родитель 814627b32e
Коммит 263a0287c9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -70,8 +70,8 @@ type Credentials interface {
GetRequestMetadata(ctx context.Context) (map[string]string, error) GetRequestMetadata(ctx context.Context) (map[string]string, error)
} }
// TransportAuthenticator defines the common interface all supported transport // TransportAuthenticator defines the common interface for all the live gRPC wire
// authentication protocols (e.g., TLS, SSL) must implement. // protocol and supported transport security protocols (e.g., TLS, SSL).
type TransportAuthenticator interface { type TransportAuthenticator interface {
// Handshake does the authentication handshake specified by the corresponding // Handshake does the authentication handshake specified by the corresponding
// authentication protocol on rawConn. // authentication protocol on rawConn.