Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMiddleware ¶
type MockMiddleware struct { }
func (*MockMiddleware) Authenticate ¶
func (mi *MockMiddleware) Authenticate(c *gin.Context)
func (*MockMiddleware) Authorize ¶
func (mi *MockMiddleware) Authorize(code string) gin.HandlerFunc
func (*MockMiddleware) HasPermission ¶
func (mi *MockMiddleware) HasPermission(code string, permissions []string) bool
Click to show internal directories.
Click to hide internal directories.