Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FlagMaxGRPCMsgSizeMB ¶
FlagMaxGRPCMsgSizeMB sets the CLI configuation flag for max gRPC send/recive msg size.
func GRPCSizeOptions ¶
func GRPCSizeOptions(sizeMB int) ([]grpc.ServerOption, error)
GRPCSizeOptions returns a slice of gRPC server options with the max message size the server can send/receive set. Error is returned if requested size is bigger than 2GB. It is intended to be shared by gRPC in bblfshd Server and Drivers.
Types ¶
Click to show internal directories.
Click to hide internal directories.