Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockUserServiceClient
- func (m *MockUserServiceClient) EXPECT() *MockUserServiceClientMockRecorder
- func (m *MockUserServiceClient) GetUserForForeignUID(arg0 context.Context, arg1 *proto.GetForeignUserRequest, ...) (*proto.GetForeignUserResponse, error)
- func (m *MockUserServiceClient) GetUserFromID(arg0 context.Context, arg1 *proto.GetUserFromIDRequest, ...) (*proto.UserResponse, error)
- func (m *MockUserServiceClient) Login(arg0 context.Context, arg1 *proto.LoginRequest, arg2 ...grpc.CallOption) (*proto.LoginResponse, error)
- func (m *MockUserServiceClient) Register(arg0 context.Context, arg1 *proto.RegisterRequest, arg2 ...grpc.CallOption) (*proto.RegisterResponse, error)
- func (m *MockUserServiceClient) ValidateJWT(arg0 context.Context, arg1 *proto.ValidateJWTRequest, arg2 ...grpc.CallOption) (*proto.ValidateJWTResponse, error)
- type MockUserServiceClientMockRecorder
- func (mr *MockUserServiceClientMockRecorder) GetUserForForeignUID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) GetUserFromID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) Login(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) Register(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockUserServiceClientMockRecorder) ValidateJWT(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserServiceClient ¶
type MockUserServiceClient struct {
// contains filtered or unexported fields
}
MockUserServiceClient is a mock of UserServiceClient interface.
func NewMockUserServiceClient ¶
func NewMockUserServiceClient(ctrl *gomock.Controller) *MockUserServiceClient
NewMockUserServiceClient creates a new mock instance.
func (*MockUserServiceClient) EXPECT ¶
func (m *MockUserServiceClient) EXPECT() *MockUserServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserServiceClient) GetUserForForeignUID ¶
func (m *MockUserServiceClient) GetUserForForeignUID(arg0 context.Context, arg1 *proto.GetForeignUserRequest, arg2 ...grpc.CallOption) (*proto.GetForeignUserResponse, error)
GetUserForForeignUID mocks base method.
func (*MockUserServiceClient) GetUserFromID ¶
func (m *MockUserServiceClient) GetUserFromID(arg0 context.Context, arg1 *proto.GetUserFromIDRequest, arg2 ...grpc.CallOption) (*proto.UserResponse, error)
GetUserFromID mocks base method.
func (*MockUserServiceClient) Login ¶
func (m *MockUserServiceClient) Login(arg0 context.Context, arg1 *proto.LoginRequest, arg2 ...grpc.CallOption) (*proto.LoginResponse, error)
Login mocks base method.
func (*MockUserServiceClient) Register ¶
func (m *MockUserServiceClient) Register(arg0 context.Context, arg1 *proto.RegisterRequest, arg2 ...grpc.CallOption) (*proto.RegisterResponse, error)
Register mocks base method.
func (*MockUserServiceClient) ValidateJWT ¶
func (m *MockUserServiceClient) ValidateJWT(arg0 context.Context, arg1 *proto.ValidateJWTRequest, arg2 ...grpc.CallOption) (*proto.ValidateJWTResponse, error)
ValidateJWT mocks base method.
type MockUserServiceClientMockRecorder ¶
type MockUserServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceClientMockRecorder is the mock recorder for MockUserServiceClient.
func (*MockUserServiceClientMockRecorder) GetUserForForeignUID ¶
func (mr *MockUserServiceClientMockRecorder) GetUserForForeignUID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetUserForForeignUID indicates an expected call of GetUserForForeignUID.
func (*MockUserServiceClientMockRecorder) GetUserFromID ¶
func (mr *MockUserServiceClientMockRecorder) GetUserFromID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetUserFromID indicates an expected call of GetUserFromID.
func (*MockUserServiceClientMockRecorder) Login ¶
func (mr *MockUserServiceClientMockRecorder) Login(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockUserServiceClientMockRecorder) Register ¶
func (mr *MockUserServiceClientMockRecorder) Register(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockUserServiceClientMockRecorder) ValidateJWT ¶
func (mr *MockUserServiceClientMockRecorder) ValidateJWT(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ValidateJWT indicates an expected call of ValidateJWT.