jwtmocks

package
v0.0.0-...-d13da26 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package jwtmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandler

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

MockHandler is a mock of Handler interface.

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance.

func (*MockHandler) CheckSession

func (m *MockHandler) CheckSession(ctx *gin.Context, ssid string) error

CheckSession mocks base method.

func (*MockHandler) ClearToken

func (m *MockHandler) ClearToken(ctx *gin.Context) error

ClearToken mocks base method.

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) ExtractTokenString

func (m *MockHandler) ExtractTokenString(ctx *gin.Context) string

ExtractTokenString mocks base method.

func (*MockHandler) SetJWTToken

func (m *MockHandler) SetJWTToken(ctx *gin.Context, ssid string, uid int64) error

SetJWTToken mocks base method.

func (*MockHandler) SetLoginToken

func (m *MockHandler) SetLoginToken(ctx *gin.Context, uid int64) error

SetLoginToken mocks base method.

type MockHandlerMockRecorder

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

MockHandlerMockRecorder is the mock recorder for MockHandler.

func (*MockHandlerMockRecorder) CheckSession

func (mr *MockHandlerMockRecorder) CheckSession(ctx, ssid interface{}) *gomock.Call

CheckSession indicates an expected call of CheckSession.

func (*MockHandlerMockRecorder) ClearToken

func (mr *MockHandlerMockRecorder) ClearToken(ctx interface{}) *gomock.Call

ClearToken indicates an expected call of ClearToken.

func (*MockHandlerMockRecorder) ExtractTokenString

func (mr *MockHandlerMockRecorder) ExtractTokenString(ctx interface{}) *gomock.Call

ExtractTokenString indicates an expected call of ExtractTokenString.

func (*MockHandlerMockRecorder) SetJWTToken

func (mr *MockHandlerMockRecorder) SetJWTToken(ctx, ssid, uid interface{}) *gomock.Call

SetJWTToken indicates an expected call of SetJWTToken.

func (*MockHandlerMockRecorder) SetLoginToken

func (mr *MockHandlerMockRecorder) SetLoginToken(ctx, uid interface{}) *gomock.Call

SetLoginToken indicates an expected call of SetLoginToken.

Jump to

Keyboard shortcuts

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