Documentation ¶
Index ¶
- type ArticleRest
- type CategoryRest
- func (r *CategoryRest) Create(ctx *gin.Context)
- func (r *CategoryRest) Delete(ctx *gin.Context)
- func (r *CategoryRest) Find(ctx *gin.Context)
- func (r *CategoryRest) Get(ctx *gin.Context)
- func (r *CategoryRest) Recycle(ctx *gin.Context)
- func (r *CategoryRest) UnDelete(ctx *gin.Context)
- func (r *CategoryRest) Update(ctx *gin.Context)
- type UserRest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleRest ¶
type ArticleRest struct {
// contains filtered or unexported fields
}
func NewArticleRest ¶
func NewArticleRest(articleLogic *logic.ArticleLogic) *ArticleRest
func (*ArticleRest) Create ¶
func (r *ArticleRest) Create(c *gin.Context)
type CategoryRest ¶
type CategoryRest struct {
// contains filtered or unexported fields
}
func NewCategoryRest ¶
func NewCategoryRest(categoryLogic *logic.CategoryLogic) *CategoryRest
func (*CategoryRest) Create ¶
func (r *CategoryRest) Create(ctx *gin.Context)
func (*CategoryRest) Delete ¶
func (r *CategoryRest) Delete(ctx *gin.Context)
func (*CategoryRest) Find ¶
func (r *CategoryRest) Find(ctx *gin.Context)
func (*CategoryRest) Get ¶
func (r *CategoryRest) Get(ctx *gin.Context)
func (*CategoryRest) Recycle ¶
func (r *CategoryRest) Recycle(ctx *gin.Context)
func (*CategoryRest) UnDelete ¶
func (r *CategoryRest) UnDelete(ctx *gin.Context)
func (*CategoryRest) Update ¶
func (r *CategoryRest) Update(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.