Documentation ¶
Index ¶
- Variables
- func InjectMockUserId(s *MockUserId)
- func LoadMockUserId() baseiface.ISingleton
- func TestCheckResult() *webdto.WebCheckResult
- func TestWebUserId() *webdto.WebUserId
- type MockUserId
- func (self *MockUserId) Init()
- func (self *MockUserId) SetWebCheckResult(webCheckResult *webdto.WebCheckResult)
- func (self *MockUserId) SetWebCheckResultFailed() *MockUserId
- func (self *MockUserId) SetWebUserID(webUserID *webdto.WebUserId)
- func (self *MockUserId) TestPassedResult() *webdto.WebCheckResult
- func (self *MockUserId) WebCheckResult() *webdto.WebCheckResult
- func (self *MockUserId) WebUserID() *webdto.WebUserId
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 ¶
Types ¶
type MockUserId ¶
type MockUserId struct { basedto.BaseEntitySingle // contains filtered or unexported fields }
func DefaultFailed ¶
func DefaultFailed() *MockUserId
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
Click to show internal directories.
Click to hide internal directories.