Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCConfig ¶
type GRPCConfig struct { Endpoint string `yaml:"endpoint"` TLS TLSConfig `yaml:"tls"` Insecure bool `yaml:"insecure"` Timeout time.Duration `yaml:"timeout"` Retry RetryConfig `yaml:"retry"` KeepAlive KeepAliveConfig `yaml:"keep_alive"` }
func GetDefaultGrpcConfig ¶
func GetDefaultGrpcConfig() GRPCConfig
type KeepAliveConfig ¶
type RetryConfig ¶
type RetryConfig struct { Enabled bool `yaml:"enabled"` MaxElapsedTime time.Duration `yaml:"max_elapsed_time"` InitialInterval time.Duration `yaml:"initial_interval"` Multiplier float64 `yaml:"multiplier"` RandomizationFactor float64 `yaml:"randomization_factor"` }
func GetDefaultRetryConfig ¶
func GetDefaultRetryConfig() RetryConfig
Click to show internal directories.
Click to hide internal directories.