mocks

package
v0.0.0-...-3122bcc Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: auth/auth_grpc.pb.go

Generated by this command:

mockgen -source=auth/auth_grpc.pb.go -destination=auth/mocks/auth_grpc.pb.go -package=mocks

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 MockSessionMangerClient

type MockSessionMangerClient struct {
	// contains filtered or unexported fields
}

MockSessionMangerClient is a mock of SessionMangerClient interface.

func NewMockSessionMangerClient

func NewMockSessionMangerClient(ctrl *gomock.Controller) *MockSessionMangerClient

NewMockSessionMangerClient creates a new mock instance.

func (*MockSessionMangerClient) Check

Check mocks base method.

func (*MockSessionMangerClient) Create

func (m *MockSessionMangerClient) Create(ctx context.Context, in *auth.User, opts ...grpc.CallOption) (*auth.Session, error)

Create mocks base method.

func (*MockSessionMangerClient) Delete

Delete mocks base method.

func (*MockSessionMangerClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSessionMangerClient) Login

func (m *MockSessionMangerClient) Login(ctx context.Context, in *auth.User, opts ...grpc.CallOption) (*auth.Session, error)

Login mocks base method.

type MockSessionMangerClientMockRecorder

type MockSessionMangerClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionMangerClientMockRecorder is the mock recorder for MockSessionMangerClient.

func (*MockSessionMangerClientMockRecorder) Check

func (mr *MockSessionMangerClientMockRecorder) Check(ctx, in any, opts ...any) *gomock.Call

Check indicates an expected call of Check.

func (*MockSessionMangerClientMockRecorder) Create

func (mr *MockSessionMangerClientMockRecorder) Create(ctx, in any, opts ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockSessionMangerClientMockRecorder) Delete

func (mr *MockSessionMangerClientMockRecorder) Delete(ctx, in any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSessionMangerClientMockRecorder) Login

func (mr *MockSessionMangerClientMockRecorder) Login(ctx, in any, opts ...any) *gomock.Call

Login indicates an expected call of Login.

type MockSessionMangerServer

type MockSessionMangerServer struct {
	// contains filtered or unexported fields
}

MockSessionMangerServer is a mock of SessionMangerServer interface.

func NewMockSessionMangerServer

func NewMockSessionMangerServer(ctrl *gomock.Controller) *MockSessionMangerServer

NewMockSessionMangerServer creates a new mock instance.

func (*MockSessionMangerServer) Check

func (m *MockSessionMangerServer) Check(arg0 context.Context, arg1 *auth.Session) (*auth.UserID, error)

Check mocks base method.

func (*MockSessionMangerServer) Create

func (m *MockSessionMangerServer) Create(arg0 context.Context, arg1 *auth.User) (*auth.Session, error)

Create mocks base method.

func (*MockSessionMangerServer) Delete

func (m *MockSessionMangerServer) Delete(arg0 context.Context, arg1 *auth.Session) (*auth.Session, error)

Delete mocks base method.

func (*MockSessionMangerServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSessionMangerServer) Login

func (m *MockSessionMangerServer) Login(arg0 context.Context, arg1 *auth.User) (*auth.Session, error)

Login mocks base method.

type MockSessionMangerServerMockRecorder

type MockSessionMangerServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionMangerServerMockRecorder is the mock recorder for MockSessionMangerServer.

func (*MockSessionMangerServerMockRecorder) Check

func (mr *MockSessionMangerServerMockRecorder) Check(arg0, arg1 any) *gomock.Call

Check indicates an expected call of Check.

func (*MockSessionMangerServerMockRecorder) Create

func (mr *MockSessionMangerServerMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockSessionMangerServerMockRecorder) Delete

func (mr *MockSessionMangerServerMockRecorder) Delete(arg0, arg1 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSessionMangerServerMockRecorder) Login

func (mr *MockSessionMangerServerMockRecorder) Login(arg0, arg1 any) *gomock.Call

Login indicates an expected call of Login.

type MockUnsafeSessionMangerServer

type MockUnsafeSessionMangerServer struct {
	// contains filtered or unexported fields
}

MockUnsafeSessionMangerServer is a mock of UnsafeSessionMangerServer interface.

func NewMockUnsafeSessionMangerServer

func NewMockUnsafeSessionMangerServer(ctrl *gomock.Controller) *MockUnsafeSessionMangerServer

NewMockUnsafeSessionMangerServer creates a new mock instance.

func (*MockUnsafeSessionMangerServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockUnsafeSessionMangerServerMockRecorder

type MockUnsafeSessionMangerServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockUnsafeSessionMangerServerMockRecorder is the mock recorder for MockUnsafeSessionMangerServer.

Jump to

Keyboard shortcuts

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