grpccommon

package
v0.15.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

func RegisterFlags(fs *pflag.FlagSet)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL