Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserClientProxy ¶
type MockUserClientProxy struct {
// contains filtered or unexported fields
}
MockUserClientProxy is a mock of UserClientProxy interface.
func NewMockUserClientProxy ¶
func NewMockUserClientProxy(ctrl *gomock.Controller) *MockUserClientProxy
NewMockUserClientProxy creates a new mock instance.
func (*MockUserClientProxy) EXPECT ¶
func (m *MockUserClientProxy) EXPECT() *MockUserClientProxyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserClientProxy) GetAccountByUserName ¶
func (m *MockUserClientProxy) GetAccountByUserName(ctx context.Context, req *user.GetAccountByUserNameRequest, opts ...client.Option) (*user.GetAccountByUserNameResponse, error)
GetAccountByUserName mocks base method.
type MockUserClientProxyMockRecorder ¶
type MockUserClientProxyMockRecorder struct {
// contains filtered or unexported fields
}
MockUserClientProxyMockRecorder is the mock recorder for MockUserClientProxy.
func (*MockUserClientProxyMockRecorder) GetAccountByUserName ¶
func (mr *MockUserClientProxyMockRecorder) GetAccountByUserName(ctx, req any, opts ...any) *gomock.Call
GetAccountByUserName indicates an expected call of GetAccountByUserName.
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface.
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) GetAccountByUserName ¶
func (m *MockUserService) GetAccountByUserName(ctx context.Context, req *user.GetAccountByUserNameRequest) (*user.GetAccountByUserNameResponse, error)
GetAccountByUserName mocks base method.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
func (*MockUserServiceMockRecorder) GetAccountByUserName ¶
func (mr *MockUserServiceMockRecorder) GetAccountByUserName(ctx, req any) *gomock.Call
GetAccountByUserName indicates an expected call of GetAccountByUserName.