MCPcopy
hub / github.com/grafana/dskit / grpcConfig

Struct grpcConfig

crypto/tls/test/tls_integration_test.go:626–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624}
625
626type grpcConfig struct {
627 MaxRecvMsgSize int `yaml:"max_recv_msg_size"`
628 MaxSendMsgSize int `yaml:"max_send_msg_size"`
629 GRPCCompression string `yaml:"grpc_compression"`
630 RateLimit float64 `yaml:"rate_limit"`
631 RateLimitBurst int `yaml:"rate_limit_burst"`
632
633 BackoffOnRatelimits bool `yaml:"backoff_on_ratelimits"`
634 BackoffConfig backoff.Config `yaml:"backoff_config"`
635
636 TLSEnabled bool `yaml:"tls_enabled"`
637 TLS tls.ClientConfig `yaml:",inline"`
638}
639
640// RegisterFlags registers flags.
641func (cfg *grpcConfig) RegisterFlags(f *flag.FlagSet) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected