mockuser

package
v1.0.1-rel-02 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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestUserId = `` /* 576-byte string literal not displayed */

四种Basic,Local,Deep,Global

View Source
var TestUserIdNo = `` /* 514-byte string literal not displayed */

Functions

func InjectMockUserId

func InjectMockUserId(s *MockUserId)

func LoadMockUserId

func LoadMockUserId() baseiface.ISingleton

func TestCheckResult

func TestCheckResult() *webdto.WebCheckResult

func TestWebUserId

func TestWebUserId() *webdto.WebUserId

Types

type MockUserId

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

func DefaultFailed

func DefaultFailed() *MockUserId

func FindBeanMockUserId

func FindBeanMockUserId() *MockUserId

FindBeanMockUserId

func NewMockUserId

func NewMockUserId() *MockUserId

func TestDefaultOk

func TestDefaultOk() *MockUserId

func (*MockUserId) Init

func (self *MockUserId) Init()

func (*MockUserId) SetWebCheckResult

func (self *MockUserId) SetWebCheckResult(webCheckResult *webdto.WebCheckResult)

func (*MockUserId) SetWebCheckResultFailed

func (self *MockUserId) SetWebCheckResultFailed() *MockUserId

func (*MockUserId) SetWebUserID

func (self *MockUserId) SetWebUserID(webUserID *webdto.WebUserId)

func (*MockUserId) TestPassedResult

func (self *MockUserId) TestPassedResult() *webdto.WebCheckResult

func (*MockUserId) WebCheckResult

func (self *MockUserId) WebCheckResult() *webdto.WebCheckResult

func (*MockUserId) WebUserID

func (self *MockUserId) WebUserID() *webdto.WebUserId

Jump to

Keyboard shortcuts

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