WithMaxRecvMsgSize overrides the client-side cap on incoming unary message size. Values <= 0 fall back to DefaultMaxRecvMsgSize.
(size int)
| 90 | // WithMaxRecvMsgSize overrides the client-side cap on incoming unary message |
| 91 | // size. Values <= 0 fall back to DefaultMaxRecvMsgSize. |
| 92 | func WithMaxRecvMsgSize(size int) Option { |
| 93 | return func(opt *newOptionalArg) { |
| 94 | opt.maxRecvMsgSize = size |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | func cliVersionUnaryInterceptor(version string) grpc.UnaryClientInterceptor { |
| 99 | return func(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error { |
no outgoing calls
no test coverage detected