Documentation ¶
Overview ¶
Package mock_webiface is a generated GoMock package.
Index ¶
- func InjectMockIrpcCheckAllowed(s *MockIrpcCheckAllowed)
- func LoadMockIrpcCheckAllowed() baseiface.ISingleton
- type MockIrpcCheckAllowed
- func (m *MockIrpcCheckAllowed) EXPECT() *MockIrpcCheckAllowedMockRecorder
- func (m *MockIrpcCheckAllowed) IfCheckRes() bool
- func (m *MockIrpcCheckAllowed) IfCheckSession() bool
- func (m *MockIrpcCheckAllowed) RpcCheckAllowed(ctx context.Context, req *webdto.WebCheckRequest) (*webdto.WebCheckResult, error)
- func (m *MockIrpcCheckAllowed) RpcGetUserId(ctx *gin.Context) *webdto.WebUserId
- func (m *MockIrpcCheckAllowed) RpcSetUserId(c *gin.Context)
- func (m *MockIrpcCheckAllowed) RpcUserIdGetBySession(ctx *gin.Context, token string) (*webdto.WebUserId, error)
- type MockIrpcCheckAllowedMockRecorder
- func (mr *MockIrpcCheckAllowedMockRecorder) IfCheckRes() *gomock.Call
- func (mr *MockIrpcCheckAllowedMockRecorder) IfCheckSession() *gomock.Call
- func (mr *MockIrpcCheckAllowedMockRecorder) RpcCheckAllowed(ctx, req interface{}) *gomock.Call
- func (mr *MockIrpcCheckAllowedMockRecorder) RpcGetUserId(ctx interface{}) *gomock.Call
- func (mr *MockIrpcCheckAllowedMockRecorder) RpcSetUserId(c interface{}) *gomock.Call
- func (mr *MockIrpcCheckAllowedMockRecorder) RpcUserIdGetBySession(ctx, token interface{}) *gomock.Call
- type MockcaseRpc
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 ¶
func (m *MockIrpcCheckAllowed) EXPECT() *MockIrpcCheckAllowedMockRecorder
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 ¶
func (m *MockIrpcCheckAllowed) RpcCheckAllowed(ctx context.Context, req *webdto.WebCheckRequest) (*webdto.WebCheckResult, error)
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 ¶
func NewMockcaseRpc ¶
func NewMockcaseRpc() *MockcaseRpc
func (*MockcaseRpc) Init ¶
func (suite *MockcaseRpc) Init()