Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "amqp"
Name of executor
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct { Addr string `json:"addr" yaml:"addr"` // ClientType must be "consumer" or "producer" ClientType string `json:"clientType" yaml:"clientType"` // Used when ClientType is consumer // SourceAddr represents the source address from which to read incoming messages SourceAddr string `json:"sourceAddr" yaml:"sourceAddr"` // MessageLimit represents the limit of message will be read. After limit, consumer will stop reading MessageLimit uint `json:"messageLimit" yaml:"messageLimit"` // Used when ClientType is producer // TargetAddr represents the target address to which outgoing messages should be published TargetAddr string `json:"targetAddr" yaml:"targetAddr"` // Messages represents the messages to be sent by producer Messages []string `json:"messages" yaml:"messages"` }
Executor represents a Test Exec
func (Executor) ZeroValueResult ¶
func (Executor) ZeroValueResult() interface{}
ZeroValueResult returns an empty implementation of this executor result
Click to show internal directories.
Click to hide internal directories.