Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMQPPublisher ¶
AMQPPublisher is an autogenerated mock type for the AMQPPublisher type
func NewAMQPPublisher ¶
func NewAMQPPublisher(t mockConstructorTestingTNewAMQPPublisher) *AMQPPublisher
NewAMQPPublisher creates a new instance of AMQPPublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AMQPPublisher) EXPECT ¶
func (_m *AMQPPublisher) EXPECT() *AMQPPublisher_Expecter
type AMQPPublisher_Expecter ¶
type AMQPPublisher_Expecter struct {
// contains filtered or unexported fields
}
func (*AMQPPublisher_Expecter) Publish ¶
func (_e *AMQPPublisher_Expecter) Publish(ctx interface{}, data interface{}, routingKey interface{}) *AMQPPublisher_Publish_Call
Publish is a helper method to define mock.On call
- ctx context.Context
- data interface{}
- routingKey string
type AMQPPublisher_Publish_Call ¶
AMQPPublisher_Publish_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Publish'
func (*AMQPPublisher_Publish_Call) Return ¶
func (_c *AMQPPublisher_Publish_Call) Return(_a0 error) *AMQPPublisher_Publish_Call
func (*AMQPPublisher_Publish_Call) Run ¶
func (_c *AMQPPublisher_Publish_Call) Run(run func(ctx context.Context, data interface{}, routingKey string)) *AMQPPublisher_Publish_Call
Click to show internal directories.
Click to hide internal directories.