Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouter ¶
func RegisterRouter(g *gin.RouterGroup)
Types ¶
type Handler ¶
type Handler struct {
}
func (*Handler) Add ¶
func (*Handler) Add() gin.HandlerFunc
func (*Handler) Delete ¶
func (*Handler) Delete() gin.HandlerFunc
func (*Handler) List ¶
func (*Handler) List() gin.HandlerFunc
type RespAdd ¶
type RespAdd struct {
Response
Details []*RespAddDeleteDetail `json:"details"`
}
type RespAddDeleteDetail ¶
type RespAddDeleteDetail struct {
Response
UserID uint `json:"user_id"`
}
type RespDelete ¶
type RespDelete struct {
Response
Details []*RespAddDeleteDetail `json:"details"`
}
Click to show internal directories.
Click to hide internal directories.