Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMQ ¶
type MockMQ struct { Name string // contains filtered or unexported fields }
MockMQ for test when programing
func InitMockMQ ¶
func InitMockMQ(mqConnName string, connCfg *mqenv.MQConnectorConfig, mqCfg *Config) (*MockMQ, error)
InitMockMQ init
func (*MockMQ) Send ¶
func (worker *MockMQ) Send(topic string, pm *mqenv.MQPublishMessage, withReply bool) (*mqenv.MQConsumerMessage, error)
Send 发送信息.
Click to show internal directories.
Click to hide internal directories.