mocks

package
v0.0.0-...-db8e843 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAmqpService

type MockAmqpService struct {
	// contains filtered or unexported fields
}

Mock of AmqpService interface

func NewMockAmqpService

func NewMockAmqpService(ctrl *gomock.Controller) *MockAmqpService

func (*MockAmqpService) Connect

func (_m *MockAmqpService) Connect() error

func (*MockAmqpService) EXPECT

func (_m *MockAmqpService) EXPECT() *_MockAmqpServiceRecorder

func (*MockAmqpService) Emit

func (_m *MockAmqpService) Emit(exchangeKey string, payload []byte) error

func (*MockAmqpService) On

func (_m *MockAmqpService) On(queueName string, exchangeKey string, callback func([]byte) error) error

func (*MockAmqpService) Shutdown

func (_m *MockAmqpService) Shutdown() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL