comments added

This commit is contained in:
lyuxuan
2017-05-15 14:41:08 -07:00
committed by Yuxuan Li
parent 4d2b4b5c51
commit 7505481848
3 changed files with 12 additions and 9 deletions

View File

@ -187,7 +187,8 @@ func RPCDecompressor(dc Decompressor) ServerOption {
}
}
// MaxMsgSize Deprecated: use MaxReceiveMessageSize instead.
// MaxMsgSize returns a ServerOption to set the max message size in bytes for inbound mesages.
// If this is not set, gRPC uses the default limit. Deprecated: use MaxReceiveMessageSize instead.
func MaxMsgSize(m int) ServerOption {
return MaxReceiveMessageSize(m)
}