Documentation ¶
Overview ¶
Package mock_algo is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAlgoFactory ¶
type MockAlgoFactory struct {
// contains filtered or unexported fields
}
MockAlgoFactory is a mock of AlgoFactory interface.
func NewMockAlgoFactory ¶
func NewMockAlgoFactory(ctrl *gomock.Controller) *MockAlgoFactory
NewMockAlgoFactory creates a new mock instance.
func (*MockAlgoFactory) EXPECT ¶
func (m *MockAlgoFactory) EXPECT() *MockAlgoFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAlgoFactory) Get ¶
func (m *MockAlgoFactory) Get(strategy string) (algo.AlgoService, error)
Get mocks base method.
type MockAlgoFactoryMockRecorder ¶
type MockAlgoFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockAlgoFactoryMockRecorder is the mock recorder for MockAlgoFactory.
func (*MockAlgoFactoryMockRecorder) Get ¶
func (mr *MockAlgoFactoryMockRecorder) Get(strategy interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockAlgoService ¶
type MockAlgoService struct {
// contains filtered or unexported fields
}
MockAlgoService is a mock of AlgoService interface.
func NewMockAlgoService ¶
func NewMockAlgoService(ctrl *gomock.Controller) *MockAlgoService
NewMockAlgoService creates a new mock instance.
func (*MockAlgoService) EXPECT ¶
func (m *MockAlgoService) EXPECT() *MockAlgoServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAlgoService) Entity ¶
func (m *MockAlgoService) Entity() *models.Algo
Entity mocks base method.
func (*MockAlgoService) GenerateKeys ¶
func (m *MockAlgoService) GenerateKeys() ([]string, error)
GenerateKeys mocks base method.
type MockAlgoServiceMockRecorder ¶
type MockAlgoServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAlgoServiceMockRecorder is the mock recorder for MockAlgoService.
func (*MockAlgoServiceMockRecorder) Entity ¶
func (mr *MockAlgoServiceMockRecorder) Entity() *gomock.Call
Entity indicates an expected call of Entity.
func (*MockAlgoServiceMockRecorder) GenerateKeys ¶
func (mr *MockAlgoServiceMockRecorder) GenerateKeys() *gomock.Call
GenerateKeys indicates an expected call of GenerateKeys.