Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PDAddr string `toml:"pd" json:"pd"` StatusAddr string `toml:"status" json:"status"` Log log.Config `toml:"log" json:"log"` Logger *zap.Logger LogProps *log.ZapProperties Client int64 `toml:"client" json:"client"` // tls CaPath string `toml:"ca-path" json:"ca-path"` CertPath string `toml:"cert-path" json:"cert-path"` KeyPath string `toml:"key-path" json:"key-path"` // only for init HTTP map[string]cases.Config `toml:"http" json:"http"` GRPC map[string]cases.Config `toml:"grpc" json:"grpc"` ETCD map[string]cases.Config `toml:"etcd" json:"etcd"` // contains filtered or unexported fields }
Config is the heartbeat-bench configuration.
func (*Config) InitCoordinator ¶
func (c *Config) InitCoordinator(co *cases.Coordinator)
InitCoordinator set case config from config itself.
Click to show internal directories.
Click to hide internal directories.