Update sdk.go

Signed-off-by: Davide Lienhard <davide.lienhard@nttdata.com>
This commit is contained in:
davidelienhard 2024-08-09 09:05:15 +02:00 committed by Davide Lienhard
parent 2fd1c1c08a
commit f185cd50b0
1 changed files with 1 additions and 1 deletions

2
sdk.go
View File

@ -116,7 +116,7 @@ func Insecure(insecure bool) ServeOption {
}
}
// MaxMsgSize returns a ServeOption to set the max message size in bytes the server can receive.
// MaxRecvMessageSize returns a ServeOption to set the max message size in bytes the server can receive.
// If this is not set, gRPC uses the default limit.
func MaxRecvMessageSize(sz int) ServeOption {
return func(o *ServeOptions) error {