Documentation ¶
Overview ¶
Package api @Author: Ciusyan 2023/1/24
@Author: Ciusyan 2023/1/24
Index ¶
- type Handler
- func (h *Handler) GetUserInfo(c *gin.Context) error
- func (h *Handler) Init() error
- func (h *Handler) Login(c *gin.Context) error
- func (h *Handler) Name() string
- func (h *Handler) Register(c *gin.Context) error
- func (h *Handler) Registry(r gin.IRoutes)
- func (h *Handler) RegistryWithMiddle(r gin.IRoutes)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { // 提供一个空结构体,用于默认实现方法 ioc.GinDefault // contains filtered or unexported fields }
Handler 通过一个实体类,把内部接口用HTTP暴露出去【控制层Controller】
func (*Handler) RegistryWithMiddle ¶
Click to show internal directories.
Click to hide internal directories.