mock_api

package
v0.0.0-...-447887d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStratosAuth

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

MockStratosAuth is a mock of StratosAuth interface.

func NewMockStratosAuth

func NewMockStratosAuth(ctrl *gomock.Controller) *MockStratosAuth

NewMockStratosAuth creates a new mock instance.

func (*MockStratosAuth) BeforeVerifySession

func (m *MockStratosAuth) BeforeVerifySession(c *echo.Context)

BeforeVerifySession mocks base method.

func (*MockStratosAuth) EXPECT

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

func (*MockStratosAuth) GetUser

func (m *MockStratosAuth) GetUser(userGUID string) (*api.ConnectedUser, error)

GetUser mocks base method.

func (*MockStratosAuth) GetUsername

func (m *MockStratosAuth) GetUsername(userGUID string) (string, error)

GetUsername mocks base method.

func (*MockStratosAuth) Login

func (m *MockStratosAuth) Login(c *echo.Context) error

Login mocks base method.

func (*MockStratosAuth) Logout

func (m *MockStratosAuth) Logout(c *echo.Context) error

Logout mocks base method.

func (*MockStratosAuth) ShowConfig

func (m *MockStratosAuth) ShowConfig(config *api.ConsoleConfig)

ShowConfig mocks base method.

func (*MockStratosAuth) VerifySession

func (m *MockStratosAuth) VerifySession(c *echo.Context, sessionUser string, sessionExpireTime int64) error

VerifySession mocks base method.

type MockStratosAuthMockRecorder

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

MockStratosAuthMockRecorder is the mock recorder for MockStratosAuth.

func (*MockStratosAuthMockRecorder) BeforeVerifySession

func (mr *MockStratosAuthMockRecorder) BeforeVerifySession(c any) *gomock.Call

BeforeVerifySession indicates an expected call of BeforeVerifySession.

func (*MockStratosAuthMockRecorder) GetUser

func (mr *MockStratosAuthMockRecorder) GetUser(userGUID any) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockStratosAuthMockRecorder) GetUsername

func (mr *MockStratosAuthMockRecorder) GetUsername(userGUID any) *gomock.Call

GetUsername indicates an expected call of GetUsername.

func (*MockStratosAuthMockRecorder) Login

Login indicates an expected call of Login.

func (*MockStratosAuthMockRecorder) Logout

func (mr *MockStratosAuthMockRecorder) Logout(c any) *gomock.Call

Logout indicates an expected call of Logout.

func (*MockStratosAuthMockRecorder) ShowConfig

func (mr *MockStratosAuthMockRecorder) ShowConfig(config any) *gomock.Call

ShowConfig indicates an expected call of ShowConfig.

func (*MockStratosAuthMockRecorder) VerifySession

func (mr *MockStratosAuthMockRecorder) VerifySession(c, sessionUser, sessionExpireTime any) *gomock.Call

VerifySession indicates an expected call of VerifySession.

Jump to

Keyboard shortcuts

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