mock_webiface

package
v1.0.1-rel-01 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mock_webiface is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectMockIrpcCheckAllowed

func InjectMockIrpcCheckAllowed(s *MockIrpcCheckAllowed)

func LoadMockIrpcCheckAllowed

func LoadMockIrpcCheckAllowed() baseiface.ISingleton

Types

type MockIrpcCheckAllowed

type MockIrpcCheckAllowed struct {
	basedto.BaseEntitySingle
	// contains filtered or unexported fields
}

MockIrpcCheckAllowed is a mock of IrpcCheckAllowed interface.

func DefaultCtrl

func DefaultCtrl() *MockIrpcCheckAllowed

func FindBeanMockIrpcCheckAllowed

func FindBeanMockIrpcCheckAllowed() *MockIrpcCheckAllowed

FindBeanMockIrpcCheckAllowed

func NewMockIrpcCheckAllowed

func NewMockIrpcCheckAllowed(ctrl *gomock.Controller) *MockIrpcCheckAllowed

NewMockIrpcCheckAllowed creates a new mock instance.

func (*MockIrpcCheckAllowed) EXPECT

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

func (*MockIrpcCheckAllowed) IfCheckRes

func (m *MockIrpcCheckAllowed) IfCheckRes() bool

IfCheckRes mocks base method.

func (*MockIrpcCheckAllowed) IfCheckSession

func (m *MockIrpcCheckAllowed) IfCheckSession() bool

IfCheckSession mocks base method.

func (*MockIrpcCheckAllowed) RpcCheckAllowed

RpcCheckAllowed mocks base method.

func (*MockIrpcCheckAllowed) RpcGetUserId

func (m *MockIrpcCheckAllowed) RpcGetUserId(ctx *gin.Context) *webdto.WebUserId

RpcGetUserId mocks base method.

func (*MockIrpcCheckAllowed) RpcSetUserId

func (m *MockIrpcCheckAllowed) RpcSetUserId(c *gin.Context)

RpcSetUserId mocks base method.

func (*MockIrpcCheckAllowed) RpcUserIdGetBySession

func (m *MockIrpcCheckAllowed) RpcUserIdGetBySession(ctx *gin.Context, token string) (*webdto.WebUserId, error)

RpcUserIdGetBySession mocks base method.

type MockIrpcCheckAllowedMockRecorder

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

MockIrpcCheckAllowedMockRecorder is the mock recorder for MockIrpcCheckAllowed.

func (*MockIrpcCheckAllowedMockRecorder) IfCheckRes

func (mr *MockIrpcCheckAllowedMockRecorder) IfCheckRes() *gomock.Call

IfCheckRes indicates an expected call of IfCheckRes.

func (*MockIrpcCheckAllowedMockRecorder) IfCheckSession

func (mr *MockIrpcCheckAllowedMockRecorder) IfCheckSession() *gomock.Call

IfCheckSession indicates an expected call of IfCheckSession.

func (*MockIrpcCheckAllowedMockRecorder) RpcCheckAllowed

func (mr *MockIrpcCheckAllowedMockRecorder) RpcCheckAllowed(ctx, req interface{}) *gomock.Call

RpcCheckAllowed indicates an expected call of RpcCheckAllowed.

func (*MockIrpcCheckAllowedMockRecorder) RpcGetUserId

func (mr *MockIrpcCheckAllowedMockRecorder) RpcGetUserId(ctx interface{}) *gomock.Call

RpcGetUserId indicates an expected call of RpcGetUserId.

func (*MockIrpcCheckAllowedMockRecorder) RpcSetUserId

func (mr *MockIrpcCheckAllowedMockRecorder) RpcSetUserId(c interface{}) *gomock.Call

RpcSetUserId indicates an expected call of RpcSetUserId.

func (*MockIrpcCheckAllowedMockRecorder) RpcUserIdGetBySession

func (mr *MockIrpcCheckAllowedMockRecorder) RpcUserIdGetBySession(ctx, token interface{}) *gomock.Call

RpcUserIdGetBySession indicates an expected call of RpcUserIdGetBySession.

type MockcaseRpc

type MockcaseRpc struct {
	suite.Suite
	// contains filtered or unexported fields
}

func NewMockcaseRpc

func NewMockcaseRpc() *MockcaseRpc

func (*MockcaseRpc) Init

func (suite *MockcaseRpc) Init()

Jump to

Keyboard shortcuts

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