Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(authService *services.AuthService) *AuthHandler
func (*AuthHandler) ChangePassword ¶
func (h *AuthHandler) ChangePassword(c *gin.Context)
ChangePassword 修改密码
type IPHandler ¶
type IPHandler struct {
// contains filtered or unexported fields
}
func NewIPHandler ¶
func (*IPHandler) CreateAllowedIP ¶
CreateAllowedIP 创建允许的IP
func (*IPHandler) DeleteAllowedIP ¶
DeleteAllowedIP 删除允许的IP
func (*IPHandler) GetAllowedIPByIP ¶
GetAllowedIPByIP 根据IP获取配置
func (*IPHandler) GetAllowedIPs ¶
GetAllowedIPs 获取允许的IP列表
func (*IPHandler) UpdateAllowedIP ¶
UpdateAllowedIP 更新允许的IP
Click to show internal directories.
Click to hide internal directories.