mock_algo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 4 Imported by: 0

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

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

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.

Jump to

Keyboard shortcuts

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