Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCRequest ¶
type GRPCRequest struct { Host string `json:"host"` Service string `json:"service"` Method string `json:"method"` // contains filtered or unexported fields }
func (GRPCRequest) Count ¶
func (request GRPCRequest) Count() uint
type HTTPRequest ¶
type HTTPRequest struct { URL string `json:"URL"` // contains filtered or unexported fields }
func (HTTPRequest) Count ¶
func (request HTTPRequest) Count() uint
type KafkaConsumeRequest ¶
type KafkaConsumeRequest struct { BootstrapServer string `json:"host"` Topic string `json:"topic"` ConsumerGroup string `json:"consumerGroup"` // contains filtered or unexported fields }
func (KafkaConsumeRequest) Count ¶
func (request KafkaConsumeRequest) Count() uint
func (KafkaConsumeRequest) Do ¶
func (request KafkaConsumeRequest) Do(incomingRequestHeaders http.Header, logger log.Logger)
func (KafkaConsumeRequest) SetConsumer ¶
func (request KafkaConsumeRequest) SetConsumer(consumer *kafka.Consumer)
type KafkaProduceRequest ¶
type KafkaProduceRequest struct { BootstrapServer string `json:"host"` Topic string `json:"topic"` Message string `json:"message"` // contains filtered or unexported fields }
func (KafkaProduceRequest) Count ¶
func (request KafkaProduceRequest) Count() uint
type Requests ¶
type Requests []Request
func (*Requests) AddRequest ¶
func (r *Requests) AddRequest(request HTTPRequest, logger log.Logger) error
type TCPRequest ¶
type TCPRequest struct { Host string `json:"host"` Port int `json:"port"` PayloadSize uint `json:"payloadSize"` }
func (TCPRequest) Count ¶
func (request TCPRequest) Count() uint
Click to show internal directories.
Click to hide internal directories.