Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnswLogConfig ¶
type Call ¶
type Call struct { Name string Preprocessors []Preprocessor Postprocessors []Postprocessor Tag string `json:"tag"` Call string `json:"call"` Metadata map[string]string `json:"metadata"` Payload []byte `json:"payload"` Sleep time.Duration `json:"sleep"` }
type GrpcDialOptions ¶
type GunConfig ¶
type GunConfig struct { Target string `validate:"required"` ReflectPort int64 `config:"reflect_port"` ReflectMetadata map[string]string `config:"reflect_metadata"` Timeout time.Duration `config:"timeout"` // grpc request timeout TLS bool `config:"tls"` DialOptions GrpcDialOptions `config:"dial_options"` AnswLog AnswLogConfig `config:"answlog"` }
func DefaultGunConfig ¶
func DefaultGunConfig() GunConfig
type Postprocessor ¶
type Preprocessor ¶
type Scenario ¶
type Scenario struct { Calls []Call Name string MinWaitingTime time.Duration VariableStorage SourceStorage // contains filtered or unexported fields }
type SourceStorage ¶
Click to show internal directories.
Click to hide internal directories.