Documentation ¶
Overview ¶
Package grpc provides a grpc server
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultMaxMsgSize define maximum message size that server can send // or receive. Default value is 4MB. DefaultMaxMsgSize = 1024 * 1024 * 4 )
Functions ¶
func Codec ¶ added in v0.6.0
gRPC Codec to be used to encode/decode requests for a given content type
func MaxMsgSize ¶ added in v0.16.2
MaxMsgSize set the maximum message in bytes the server can receive and send. Default maximum message size is 4 MB.
Types ¶
type Debug ¶
type Debug struct {
debug.DebugHandler
}
We use this to wrap any debug handlers so we preserve the signature Debug.{Method}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.