profile

package
v0.0.145 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterProfileRoutes added in v0.0.145

func RegisterProfileRoutes(mgm *gin.RouterGroup)

Types

type Controller added in v0.0.145

type Controller struct{}

func (*Controller) Disable2FA added in v0.0.145

func (uc *Controller) Disable2FA(c *gin.Context)

Disable2FA 禁用2FA

func (*Controller) Enable2FA added in v0.0.145

func (uc *Controller) Enable2FA(c *gin.Context)

Enable2FA 验证并启用2FA

func (*Controller) Generate2FASecret added in v0.0.145

func (uc *Controller) Generate2FASecret(c *gin.Context)

Generate2FASecret 生成2FA密钥

func (*Controller) ListUserPermissions added in v0.0.145

func (uc *Controller) ListUserPermissions(c *gin.Context)

ListUserPermissions 列出当前登录用户所拥有的集群权限

func (*Controller) Profile added in v0.0.145

func (uc *Controller) Profile(c *gin.Context)

func (*Controller) UpdatePsw added in v0.0.145

func (uc *Controller) UpdatePsw(c *gin.Context)

Jump to

Keyboard shortcuts

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