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 MockstockClient ¶
type MockstockClient struct {
// contains filtered or unexported fields
}
MockstockClient is a mock of stockClient interface
func NewMockstockClient ¶
func NewMockstockClient(ctrl *gomock.Controller) *MockstockClient
NewMockstockClient creates a new mock instance
func (*MockstockClient) EXPECT ¶
func (m *MockstockClient) EXPECT() *MockstockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockstockClient) Get ¶
func (m *MockstockClient) Get(symbol string) (model0.StockData, error)
Get mocks base method
func (*MockstockClient) RegisterStock ¶
func (m *MockstockClient) RegisterStock(symbol string) error
RegisterStock mocks base method
type MockstockClientMockRecorder ¶
type MockstockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockstockClientMockRecorder is the mock recorder for MockstockClient
func (*MockstockClientMockRecorder) Get ¶
func (mr *MockstockClientMockRecorder) Get(symbol interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockstockClientMockRecorder) RegisterStock ¶
func (mr *MockstockClientMockRecorder) RegisterStock(symbol interface{}) *gomock.Call
RegisterStock indicates an expected call of RegisterStock
type MockuserprofileClient ¶
type MockuserprofileClient struct {
// contains filtered or unexported fields
}
MockuserprofileClient is a mock of userprofileClient interface
func NewMockuserprofileClient ¶
func NewMockuserprofileClient(ctrl *gomock.Controller) *MockuserprofileClient
NewMockuserprofileClient creates a new mock instance
func (*MockuserprofileClient) EXPECT ¶
func (m *MockuserprofileClient) EXPECT() *MockuserprofileClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockuserprofileClient) GetUserprofile ¶
func (m *MockuserprofileClient) GetUserprofile(userId string) (model.Userprofile, error)
GetUserprofile mocks base method
type MockuserprofileClientMockRecorder ¶
type MockuserprofileClientMockRecorder struct {
// contains filtered or unexported fields
}
MockuserprofileClientMockRecorder is the mock recorder for MockuserprofileClient
func (*MockuserprofileClientMockRecorder) GetUserprofile ¶
func (mr *MockuserprofileClientMockRecorder) GetUserprofile(userId interface{}) *gomock.Call
GetUserprofile indicates an expected call of GetUserprofile