handler

package
v0.0.0-...-8d4a05d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL