Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKafkaService ¶
type MockKafkaService struct {
// contains filtered or unexported fields
}
MockKafkaService is a mock of KafkaService interface.
func NewMockKafkaService ¶
func NewMockKafkaService(ctrl *gomock.Controller) *MockKafkaService
NewMockKafkaService creates a new mock instance.
func (*MockKafkaService) EXPECT ¶
func (m *MockKafkaService) EXPECT() *MockKafkaServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKafkaService) Init ¶
func (m *MockKafkaService) Init(cfg *config.Config) error
Init mocks base method.
func (*MockKafkaService) SendMessage ¶
func (m *MockKafkaService) SendMessage(topic, data, contextId string, isDelete bool) error
SendMessage mocks base method.
type MockKafkaServiceMockRecorder ¶
type MockKafkaServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockKafkaServiceMockRecorder is the mock recorder for MockKafkaService.
func (*MockKafkaServiceMockRecorder) Init ¶
func (mr *MockKafkaServiceMockRecorder) Init(cfg interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockKafkaServiceMockRecorder) SendMessage ¶
func (mr *MockKafkaServiceMockRecorder) SendMessage(topic, data, contextId interface{}, isDelete bool) *gomock.Call
SendMessage indicates an expected call of SendMessage.
Click to show internal directories.
Click to hide internal directories.