Documentation ¶
Overview ¶
Package mock_executor is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(svc *service.Provider, handlerFactory handlers.Factory) interfaces.CommandExecutor
New creates a new executor
Types ¶
type EvebotCommandExecutor ¶
type EvebotCommandExecutor struct {
// contains filtered or unexported fields
}
EvebotCommandExecutor is the data structure that implements the Executor
func (*EvebotCommandExecutor) Execute ¶
func (h *EvebotCommandExecutor) Execute(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Execute satisfies the Executor.Execute interface
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExecutor) Execute ¶
func (m *MockExecutor) Execute(ctx context.Context, cmd commands.EvebotCommand, timestamp string)
Execute mocks base method
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor
func (*MockExecutorMockRecorder) Execute ¶
func (mr *MockExecutorMockRecorder) Execute(ctx, cmd, timestamp interface{}) *gomock.Call
Execute indicates an expected call of Execute
Click to show internal directories.
Click to hide internal directories.