Documentation ¶
Index ¶
- type Codebook
- type CreateCodebookReq
- type DeleteCodebookReq
- type DetailCodebookReq
- type Handler
- func (h *Handler) CreateCodebook(ctx *gin.Context, req CreateCodebookReq) (ginx.Result, error)
- func (h *Handler) DeleteCodebook(ctx *gin.Context, req DeleteCodebookReq) (ginx.Result, error)
- func (h *Handler) DetailCodebook(ctx *gin.Context, req DetailCodebookReq) (ginx.Result, error)
- func (h *Handler) ListCodebook(ctx *gin.Context, req ListCodebookReq) (ginx.Result, error)
- func (h *Handler) PrivateRoutes(server *gin.Engine)
- func (h *Handler) UpdateCodebook(ctx *gin.Context, req UpdateCodebookReq) (ginx.Result, error)
- type ListCodebookReq
- type Page
- type RetrieveCodebooks
- type UpdateCodebookReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCodebookReq ¶
type DeleteCodebookReq ¶
type DeleteCodebookReq struct {
Id int64 `json:"id"`
}
type DetailCodebookReq ¶
type DetailCodebookReq struct {
Id int64 `json:"id"`
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) CreateCodebook ¶
func (*Handler) DeleteCodebook ¶
func (*Handler) DetailCodebook ¶
func (*Handler) ListCodebook ¶
func (*Handler) PrivateRoutes ¶ added in v1.3.0
func (*Handler) UpdateCodebook ¶
type ListCodebookReq ¶
type ListCodebookReq struct {
Page
}
type RetrieveCodebooks ¶
Click to show internal directories.
Click to hide internal directories.