Documentation
¶
Index ¶
Constants ¶
View Source
const ( P2CEWMAName = "p2cewma" RRName = "round-robin" LCName = "least-connection" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GlobalRPCConfig `yaml:",inline"`
Clients Clients `yaml:"clients"`
Logger Logger `yaml:"logger"`
Metrics Metrics `yaml:"metrics"`
RPCs []RPC `yaml:"rpcs"`
Port int64 `yaml:"port"`
}
func ParseConfig ¶
type GlobalRPCConfig ¶
type GlobalRPCConfig struct {
BalancerType string `yaml:"balancer_type"`
NoRPCValidation bool `yaml:"no_rpc_validation"`
P2CEWMA P2CEWMAConfig `yaml:"p2cewma"`
}
type P2CEWMAConfig ¶
Click to show internal directories.
Click to hide internal directories.