package
0.0.0-20250114054621-96691ae24ea6
Repository: https://github.com/dbalpha/go-ldap-admin.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
注册基础路由.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
初始化.
注册用户路由.
LoginHandler @Summary 登录接口 (手动加上: Bearer + token(密码加密接口)) @Description 用户登录 @Tags 基础管理 @Accept application/json @Produce application/json @Param data body request.RegisterAndLoginReq true "用户登录信息账号和密码" @Success 200 {object} response.ResponseBody @Router /base/login [post].
LogoutHandler @Summary 退出登录 @Description 用户退出登录 @Tags 基础管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /base/logout [post].
RefreshHandler @Summary 刷新 Token @Description 使用旧的 Token 获取新的 Token @Tags 基础管理 @Accept application/json @Produce application/json @Param Authorization header string true "Bearer 旧的 Token" @Success 200 {object} response.ResponseBody @Router /base/refreshToken [post].