Address comments

This commit is contained in:
Menghan Li
2016-06-09 11:44:26 -07:00
parent d9c8fb446d
commit 69487bb54a

View File

@ -54,8 +54,8 @@ var (
alpnProtoStr = []string{"h2"} alpnProtoStr = []string{"h2"}
) )
// PerRPCCredentials defines the common interface all supported per RPC credentials must // PerRPCCredentials defines the common interface for the credentials which need to
// implement. // attach security information to every RPC (e.g., oauth2).
type PerRPCCredentials interface { type PerRPCCredentials interface {
// GetRequestMetadata gets the current request metadata, refreshing // GetRequestMetadata gets the current request metadata, refreshing
// tokens if required. This should be called by the transport layer on // tokens if required. This should be called by the transport layer on