Documentation ¶
Index ¶
- type AdminApi
- func (h *AdminApi) Delete(ctx *gin.Context)
- func (h *AdminApi) GetItem(ctx *gin.Context)
- func (h *AdminApi) GetRoleList(ctx *gin.Context)
- func (h *AdminApi) GetSelfInfo(ctx *gin.Context)
- func (h *AdminApi) List(ctx *gin.Context)
- func (h *AdminApi) Login(ctx *gin.Context)
- func (h *AdminApi) Logout(ctx *gin.Context)
- func (h *AdminApi) RefreshToken(ctx *gin.Context)
- func (h *AdminApi) Register(ctx *gin.Context)
- func (h *AdminApi) Update(ctx *gin.Context)
- func (h *AdminApi) UpdatePassword(ctx *gin.Context)
- func (h *AdminApi) UpdateRole(ctx *gin.Context)
- func (h *AdminApi) UpdateStatus(ctx *gin.Context)
- type MenuApi
- func (h *MenuApi) Add(ctx *gin.Context)
- func (h *MenuApi) Delete(ctx *gin.Context)
- func (h *MenuApi) Details(ctx *gin.Context)
- func (h *MenuApi) List(ctx *gin.Context)
- func (h *MenuApi) TreeList(ctx *gin.Context)
- func (h *MenuApi) Update(ctx *gin.Context)
- func (h *MenuApi) UpdateHidden(ctx *gin.Context)
- type RoleApi
- func (h *RoleApi) Add(ctx *gin.Context)
- func (h *RoleApi) Delete(ctx *gin.Context)
- func (h *RoleApi) Details(ctx *gin.Context)
- func (h *RoleApi) List(ctx *gin.Context)
- func (h *RoleApi) ListAll(ctx *gin.Context)
- func (h *RoleApi) Update(ctx *gin.Context)
- func (h *RoleApi) UpdateStatus(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminApi ¶
type AdminApi struct {
// contains filtered or unexported fields
}
func NewAdminServer ¶
func NewAdminServer(svc v1.IAdminServer) *AdminApi
func (*AdminApi) GetRoleList ¶
func (*AdminApi) GetSelfInfo ¶
func (*AdminApi) RefreshToken ¶
RefreshToken 请求头携带rToken
func (*AdminApi) UpdatePassword ¶
func (*AdminApi) UpdateRole ¶
func (*AdminApi) UpdateStatus ¶
type MenuApi ¶
type MenuApi struct {
// contains filtered or unexported fields
}
func NewMenuServer ¶
func NewMenuServer(svc v1.IMenuServer) *MenuApi
func (*MenuApi) UpdateHidden ¶
type RoleApi ¶
type RoleApi struct {
// contains filtered or unexported fields
}
func NewRoleServer ¶
func NewRoleServer(svc v1.IRoleServer) *RoleApi
func (*RoleApi) UpdateStatus ¶
Click to show internal directories.
Click to hide internal directories.