Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NatsPublisher ¶
NatsPublisher is an autogenerated mock type for the natsPublisher type
func NewNatsPublisher ¶
func NewNatsPublisher(t mockConstructorTestingTNewNatsPublisher) *NatsPublisher
NewNatsPublisher creates a new instance of NatsPublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*NatsPublisher) PublishMsg ¶
func (_m *NatsPublisher) PublishMsg(m *nats.Msg) error
PublishMsg provides a mock function with given fields: m
func (*NatsPublisher) RequestMsgWithContext ¶
func (_m *NatsPublisher) RequestMsgWithContext(ctx context.Context, msg *nats.Msg) (*nats.Msg, error)
RequestMsgWithContext provides a mock function with given fields: ctx, msg
Click to show internal directories.
Click to hide internal directories.