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 ¶
- type MockSessionMangerClient
- func (m *MockSessionMangerClient) Check(ctx context.Context, in *auth.Session, opts ...grpc.CallOption) (*auth.UserID, error)
- func (m *MockSessionMangerClient) Create(ctx context.Context, in *auth.User, opts ...grpc.CallOption) (*auth.Session, error)
- func (m *MockSessionMangerClient) Delete(ctx context.Context, in *auth.Session, opts ...grpc.CallOption) (*auth.Session, error)
- func (m *MockSessionMangerClient) EXPECT() *MockSessionMangerClientMockRecorder
- func (m *MockSessionMangerClient) Login(ctx context.Context, in *auth.User, opts ...grpc.CallOption) (*auth.Session, error)
- type MockSessionMangerClientMockRecorder
- func (mr *MockSessionMangerClientMockRecorder) Check(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockSessionMangerClientMockRecorder) Create(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockSessionMangerClientMockRecorder) Delete(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockSessionMangerClientMockRecorder) Login(ctx, in any, opts ...any) *gomock.Call
- type MockSessionMangerServer
- func (m *MockSessionMangerServer) Check(arg0 context.Context, arg1 *auth.Session) (*auth.UserID, error)
- func (m *MockSessionMangerServer) Create(arg0 context.Context, arg1 *auth.User) (*auth.Session, error)
- func (m *MockSessionMangerServer) Delete(arg0 context.Context, arg1 *auth.Session) (*auth.Session, error)
- func (m *MockSessionMangerServer) EXPECT() *MockSessionMangerServerMockRecorder
- func (m *MockSessionMangerServer) Login(arg0 context.Context, arg1 *auth.User) (*auth.Session, error)
- type MockSessionMangerServerMockRecorder
- func (mr *MockSessionMangerServerMockRecorder) Check(arg0, arg1 any) *gomock.Call
- func (mr *MockSessionMangerServerMockRecorder) Create(arg0, arg1 any) *gomock.Call
- func (mr *MockSessionMangerServerMockRecorder) Delete(arg0, arg1 any) *gomock.Call
- func (mr *MockSessionMangerServerMockRecorder) Login(arg0, arg1 any) *gomock.Call
- type MockUnsafeSessionMangerServer
- type MockUnsafeSessionMangerServerMockRecorder
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 ¶
func (m *MockSessionMangerClient) Check(ctx context.Context, in *auth.Session, opts ...grpc.CallOption) (*auth.UserID, error)
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 ¶
func (m *MockSessionMangerClient) Delete(ctx context.Context, in *auth.Session, opts ...grpc.CallOption) (*auth.Session, error)
Delete mocks base method.
func (*MockSessionMangerClient) EXPECT ¶
func (m *MockSessionMangerClient) EXPECT() *MockSessionMangerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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 ¶
func (m *MockSessionMangerServer) EXPECT() *MockSessionMangerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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 ¶
func (m *MockUnsafeSessionMangerServer) EXPECT() *MockUnsafeSessionMangerServerMockRecorder
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.