Documentation
¶
Index ¶
- type Handler
- func (h *Handler) ChangePassword(c *gin.Context)
- func (h *Handler) CreatePost(c *gin.Context)
- func (h *Handler) CreateUser(c *gin.Context)
- func (h *Handler) DeletePost(c *gin.Context)
- func (h *Handler) DeleteUser(c *gin.Context)
- func (h *Handler) GetPost(c *gin.Context)
- func (h *Handler) GetUser(c *gin.Context)
- func (h *Handler) Healthz(c *gin.Context)
- func (h *Handler) ListPost(c *gin.Context)
- func (h *Handler) ListUser(c *gin.Context)
- func (h *Handler) Login(c *gin.Context)
- func (h *Handler) RefreshToken(c *gin.Context)
- func (h *Handler) UpdatePost(c *gin.Context)
- func (h *Handler) UpdateUser(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler 处理博客模块的请求.
func NewHandler ¶
func NewHandler(biz biz.IBiz, val *validation.Validator) *Handler
NewHandler 创建新的 Handler 实例.
func (*Handler) ChangePassword ¶
ChangeUserPassword 修改用户密码.
func (*Handler) RefreshToken ¶
RefreshToken 刷新 JWT Token.
Click to show internal directories.
Click to hide internal directories.