Documentation ¶
Overview ¶
Package mock_grpc is a generated GoMock package.
Index ¶
- type MockAuthClient
- func (m *MockAuthClient) EXPECT() *MockAuthClientMockRecorder
- func (m *MockAuthClient) EditEmail(ctx context.Context, in *grpc.EditEmailRequest, opts ...grpc0.CallOption) (*grpc.User, error)
- func (m *MockAuthClient) GetCurrentUser(ctx context.Context, in *grpc.SessionData, opts ...grpc0.CallOption) (*grpc.AuthUser, error)
- func (m *MockAuthClient) Login(ctx context.Context, in *grpc.ExistedUserData, opts ...grpc0.CallOption) (*grpc.LoggedUser, error)
- func (m *MockAuthClient) Logout(ctx context.Context, in *grpc.SessionData, opts ...grpc0.CallOption) (*emptypb.Empty, error)
- func (m *MockAuthClient) Signup(ctx context.Context, in *grpc.NewUserData, opts ...grpc0.CallOption) (*grpc.LoggedUser, error)
- type MockAuthClientMockRecorder
- func (mr *MockAuthClientMockRecorder) EditEmail(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) GetCurrentUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) Login(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) Logout(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) Signup(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAuthServer
- func (m *MockAuthServer) EXPECT() *MockAuthServerMockRecorder
- func (m *MockAuthServer) EditEmail(arg0 context.Context, arg1 *grpc.EditEmailRequest) (*grpc.User, error)
- func (m *MockAuthServer) GetCurrentUser(arg0 context.Context, arg1 *grpc.SessionData) (*grpc.AuthUser, error)
- func (m *MockAuthServer) Login(arg0 context.Context, arg1 *grpc.ExistedUserData) (*grpc.LoggedUser, error)
- func (m *MockAuthServer) Logout(arg0 context.Context, arg1 *grpc.SessionData) (*emptypb.Empty, error)
- func (m *MockAuthServer) Signup(arg0 context.Context, arg1 *grpc.NewUserData) (*grpc.LoggedUser, error)
- type MockAuthServerMockRecorder
- func (mr *MockAuthServerMockRecorder) EditEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServerMockRecorder) GetCurrentUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServerMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServerMockRecorder) Logout(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServerMockRecorder) Signup(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeAuthServer
- type MockUnsafeAuthServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthClient ¶
type MockAuthClient struct {
// contains filtered or unexported fields
}
MockAuthClient is a mock of AuthClient interface.
func NewMockAuthClient ¶
func NewMockAuthClient(ctrl *gomock.Controller) *MockAuthClient
NewMockAuthClient creates a new mock instance.
func (*MockAuthClient) EXPECT ¶
func (m *MockAuthClient) EXPECT() *MockAuthClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthClient) EditEmail ¶
func (m *MockAuthClient) EditEmail(ctx context.Context, in *grpc.EditEmailRequest, opts ...grpc0.CallOption) (*grpc.User, error)
EditEmail mocks base method.
func (*MockAuthClient) GetCurrentUser ¶
func (m *MockAuthClient) GetCurrentUser(ctx context.Context, in *grpc.SessionData, opts ...grpc0.CallOption) (*grpc.AuthUser, error)
GetCurrentUser mocks base method.
func (*MockAuthClient) Login ¶
func (m *MockAuthClient) Login(ctx context.Context, in *grpc.ExistedUserData, opts ...grpc0.CallOption) (*grpc.LoggedUser, error)
Login mocks base method.
func (*MockAuthClient) Logout ¶
func (m *MockAuthClient) Logout(ctx context.Context, in *grpc.SessionData, opts ...grpc0.CallOption) (*emptypb.Empty, error)
Logout mocks base method.
func (*MockAuthClient) Signup ¶
func (m *MockAuthClient) Signup(ctx context.Context, in *grpc.NewUserData, opts ...grpc0.CallOption) (*grpc.LoggedUser, error)
Signup mocks base method.
type MockAuthClientMockRecorder ¶
type MockAuthClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthClientMockRecorder is the mock recorder for MockAuthClient.
func (*MockAuthClientMockRecorder) EditEmail ¶
func (mr *MockAuthClientMockRecorder) EditEmail(ctx, in interface{}, opts ...interface{}) *gomock.Call
EditEmail indicates an expected call of EditEmail.
func (*MockAuthClientMockRecorder) GetCurrentUser ¶
func (mr *MockAuthClientMockRecorder) GetCurrentUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCurrentUser indicates an expected call of GetCurrentUser.
func (*MockAuthClientMockRecorder) Login ¶
func (mr *MockAuthClientMockRecorder) Login(ctx, in interface{}, opts ...interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockAuthClientMockRecorder) Logout ¶
func (mr *MockAuthClientMockRecorder) Logout(ctx, in interface{}, opts ...interface{}) *gomock.Call
Logout indicates an expected call of Logout.
func (*MockAuthClientMockRecorder) Signup ¶
func (mr *MockAuthClientMockRecorder) Signup(ctx, in interface{}, opts ...interface{}) *gomock.Call
Signup indicates an expected call of Signup.
type MockAuthServer ¶
type MockAuthServer struct {
// contains filtered or unexported fields
}
MockAuthServer is a mock of AuthServer interface.
func NewMockAuthServer ¶
func NewMockAuthServer(ctrl *gomock.Controller) *MockAuthServer
NewMockAuthServer creates a new mock instance.
func (*MockAuthServer) EXPECT ¶
func (m *MockAuthServer) EXPECT() *MockAuthServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthServer) EditEmail ¶
func (m *MockAuthServer) EditEmail(arg0 context.Context, arg1 *grpc.EditEmailRequest) (*grpc.User, error)
EditEmail mocks base method.
func (*MockAuthServer) GetCurrentUser ¶
func (m *MockAuthServer) GetCurrentUser(arg0 context.Context, arg1 *grpc.SessionData) (*grpc.AuthUser, error)
GetCurrentUser mocks base method.
func (*MockAuthServer) Login ¶
func (m *MockAuthServer) Login(arg0 context.Context, arg1 *grpc.ExistedUserData) (*grpc.LoggedUser, error)
Login mocks base method.
func (*MockAuthServer) Logout ¶
func (m *MockAuthServer) Logout(arg0 context.Context, arg1 *grpc.SessionData) (*emptypb.Empty, error)
Logout mocks base method.
func (*MockAuthServer) Signup ¶
func (m *MockAuthServer) Signup(arg0 context.Context, arg1 *grpc.NewUserData) (*grpc.LoggedUser, error)
Signup mocks base method.
type MockAuthServerMockRecorder ¶
type MockAuthServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServerMockRecorder is the mock recorder for MockAuthServer.
func (*MockAuthServerMockRecorder) EditEmail ¶
func (mr *MockAuthServerMockRecorder) EditEmail(arg0, arg1 interface{}) *gomock.Call
EditEmail indicates an expected call of EditEmail.
func (*MockAuthServerMockRecorder) GetCurrentUser ¶
func (mr *MockAuthServerMockRecorder) GetCurrentUser(arg0, arg1 interface{}) *gomock.Call
GetCurrentUser indicates an expected call of GetCurrentUser.
func (*MockAuthServerMockRecorder) Login ¶
func (mr *MockAuthServerMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockAuthServerMockRecorder) Logout ¶
func (mr *MockAuthServerMockRecorder) Logout(arg0, arg1 interface{}) *gomock.Call
Logout indicates an expected call of Logout.
func (*MockAuthServerMockRecorder) Signup ¶
func (mr *MockAuthServerMockRecorder) Signup(arg0, arg1 interface{}) *gomock.Call
Signup indicates an expected call of Signup.
type MockUnsafeAuthServer ¶
type MockUnsafeAuthServer struct {
// contains filtered or unexported fields
}
MockUnsafeAuthServer is a mock of UnsafeAuthServer interface.
func NewMockUnsafeAuthServer ¶
func NewMockUnsafeAuthServer(ctrl *gomock.Controller) *MockUnsafeAuthServer
NewMockUnsafeAuthServer creates a new mock instance.
func (*MockUnsafeAuthServer) EXPECT ¶
func (m *MockUnsafeAuthServer) EXPECT() *MockUnsafeAuthServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAuthServerMockRecorder ¶
type MockUnsafeAuthServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAuthServerMockRecorder is the mock recorder for MockUnsafeAuthServer.