Documentation ¶
Index ¶
- type Handler
- type NewsHandler
- func (h *NewsHandler) Create(c *gin.Context)
- func (h *NewsHandler) Delete(c *gin.Context)
- func (h *NewsHandler) Export(c *gin.Context) ([]byte, error)
- func (h *NewsHandler) GetById(c *gin.Context)
- func (h *NewsHandler) Import(c *gin.Context) ([]byte, error)
- func (h *NewsHandler) Init(api *gin.RouterGroup)
- func (h *NewsHandler) List(c *gin.Context)
- func (h *NewsHandler) MassDelete(c *gin.Context) ([]byte, error)
- func (h *NewsHandler) MassUpdate(c *gin.Context) ([]byte, error)
- func (h *NewsHandler) Update(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewsHandler ¶
type NewsHandler struct {
// contains filtered or unexported fields
}
func NewNewsHandlers ¶
func NewNewsHandlers( newsService service.INewsService, trx mw.ITransaction, taskService task.Tasker, ) *NewsHandler
func (*NewsHandler) Create ¶
func (h *NewsHandler) Create(c *gin.Context)
func (*NewsHandler) Delete ¶
func (h *NewsHandler) Delete(c *gin.Context)
func (*NewsHandler) Export ¶ added in v2.3.1
func (h *NewsHandler) Export(c *gin.Context) ([]byte, error)
func (*NewsHandler) GetById ¶
func (h *NewsHandler) GetById(c *gin.Context)
func (*NewsHandler) Init ¶
func (h *NewsHandler) Init(api *gin.RouterGroup)
func (*NewsHandler) List ¶
func (h *NewsHandler) List(c *gin.Context)
func (*NewsHandler) MassDelete ¶ added in v2.3.1
func (h *NewsHandler) MassDelete(c *gin.Context) ([]byte, error)
func (*NewsHandler) MassUpdate ¶
func (h *NewsHandler) MassUpdate(c *gin.Context) ([]byte, error)
func (*NewsHandler) Update ¶
func (h *NewsHandler) Update(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.