Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { GetInfoByToken(c *gin_context.NoSecurityContext) PutTokenInfo(c *gin_context.NoSecurityContext) DeleteToken(c *gin_context.NoSecurityContext) CreateToken(c *gin_context.NoSecurityContext) GetTokensByQuery(c *gin_context.NoSecurityContext) //GetSelectTokens(c *gin_context.NoSecurityContext) GetSudoToken(c *gin_context.NoSecurityContext) GetTempToken(c *gin_context.NoSecurityContext) PostTempToken(c *gin_context.NoSecurityContext) CheckAdminTokenPermission(needPermissions ...string) func(c *gin_context.NoSecurityContext) }
func New ¶
func New(db *gorm.DB, service admin_token_service.Service, config admin_token_config.Config) Controller
Click to show internal directories.
Click to hide internal directories.