Documentation
¶
Index ¶
- Variables
- type HandlerArticle
- func (h *HandlerArticle) DeleteArticleByID(c *gin.Context)
- func (h *HandlerArticle) DeleteTagByName(c *gin.Context)
- func (h *HandlerArticle) GetArticleByID(c *gin.Context)
- func (h *HandlerArticle) GetArticleList(c *gin.Context)
- func (h *HandlerArticle) GetArticleTags(c *gin.Context)
- func (h *HandlerArticle) PatchArticleLikeByID(c *gin.Context)
- func (h *HandlerArticle) PostContentFileUpload(c *gin.Context)
- func (h *HandlerArticle) PostCoverUpload(c *gin.Context)
- func (h *HandlerArticle) PutArticleByID(c *gin.Context)
- func (h *HandlerArticle) PutTagByName(c *gin.Context)
- type HandlerStatsArticle
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerArticleSet = wire.NewSet(wire.Struct(new(HandlerArticle), "*"))
View Source
var HandlerStatsArticleSet = wire.NewSet(wire.Struct(new(HandlerStatsArticle), "*"))
Functions ¶
This section is empty.
Types ¶
type HandlerArticle ¶
type HandlerArticle struct {
Business *business.BusinessArticle
Logger core.ILogger
Res core.IResponse
RocketMQ core.IRocketMQ
}
func (*HandlerArticle) DeleteArticleByID ¶
func (h *HandlerArticle) DeleteArticleByID(c *gin.Context)
func (*HandlerArticle) DeleteTagByName ¶
func (h *HandlerArticle) DeleteTagByName(c *gin.Context)
func (*HandlerArticle) GetArticleByID ¶
func (h *HandlerArticle) GetArticleByID(c *gin.Context)
func (*HandlerArticle) GetArticleList ¶
func (h *HandlerArticle) GetArticleList(c *gin.Context)
func (*HandlerArticle) GetArticleTags ¶
func (h *HandlerArticle) GetArticleTags(c *gin.Context)
func (*HandlerArticle) PatchArticleLikeByID ¶
func (h *HandlerArticle) PatchArticleLikeByID(c *gin.Context)
func (*HandlerArticle) PostContentFileUpload ¶
func (h *HandlerArticle) PostContentFileUpload(c *gin.Context)
func (*HandlerArticle) PostCoverUpload ¶
func (h *HandlerArticle) PostCoverUpload(c *gin.Context)
func (*HandlerArticle) PutArticleByID ¶
func (h *HandlerArticle) PutArticleByID(c *gin.Context)
func (*HandlerArticle) PutTagByName ¶
func (h *HandlerArticle) PutTagByName(c *gin.Context)
type HandlerStatsArticle ¶
type HandlerStatsArticle struct {
Logger core.ILogger
Res core.IResponse
RedisClient *redis.Client
RocketMQ core.IRocketMQ
}
func (*HandlerStatsArticle) GetStatsArticleMain ¶
func (h *HandlerStatsArticle) GetStatsArticleMain(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.