Documentation
¶
Overview ¶
Package grpcconfig defines the bounded transport contract shared by Codefly-owned gRPC clients and servers.
Index ¶
Constants ¶
const MaxTypedMessageBytes = 64 << 20
MaxTypedMessageBytes is the largest encoded typed request or response that Codefly transports through one unary gRPC call. Complete semantic indexes from real frameworks exceed gRPC's 4 MiB default; 64 MiB keeps that current contract usable while retaining a finite memory and abuse boundary.
Variables ¶
This section is empty.
Functions ¶
func TypedMessageClientDialOption ¶
func TypedMessageClientDialOption() grpc.DialOption
TypedMessageClientDialOption applies the same envelope to every call made on a client connection.
func TypedMessageServerOptions ¶
func TypedMessageServerOptions() []grpc.ServerOption
TypedMessageServerOptions applies the shared bounded envelope to a gRPC server. Callers append these options to their service-specific interceptors, credentials, and telemetry.
Types ¶
This section is empty.