Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableGRPCPrometheus ¶
func EnableGRPCPrometheus() bool
EnableGRPCPrometheus returns the value of the --grpc_prometheus flag.
func MaxMessageSize ¶
func MaxMessageSize() int
MaxMessageSize returns the value of the --grpc_max_message_size flag.
func RegisterFlags ¶ added in v0.15.0
RegisterFlags installs grpccommon flags on the given FlagSet.
`go/cmd/*` entrypoints should either use servenv.ParseFlags(WithArgs)? which calls this function, or call this function directly before parsing command-line arguments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.