Help us shape the future of Go! Take the 2026 Go Developer Survey

handler

package
v2.3.166 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandlers

func NewHandlers(
	taskService service.ITaskService,
	tr mw.ITransaction,
) *Handler

func (*Handler) Init

func (h *Handler) Init(secured *gin.RouterGroup, unsecured *gin.RouterGroup)

type IHandler

type IHandler interface {
	Init(secured *gin.RouterGroup, unsecured *gin.RouterGroup)
}

type TaskHandler

type TaskHandler struct {
	// contains filtered or unexported fields
}

func NewTaskHandlers

func NewTaskHandlers(
	taskService service.ITaskService,
	tr mw.ITransaction,
) *TaskHandler

func (*TaskHandler) Delete added in v2.3.100

func (h *TaskHandler) Delete(c *gin.Context)

func (*TaskHandler) Download

func (h *TaskHandler) Download(c *gin.Context)

func (*TaskHandler) GetById

func (h *TaskHandler) GetById(c *gin.Context)

func (*TaskHandler) Init

func (h *TaskHandler) Init(secured *gin.RouterGroup, unsecured *gin.RouterGroup)
func (h *TaskHandler) Link(c *gin.Context)

func (*TaskHandler) List

func (h *TaskHandler) List(c *gin.Context)

func (*TaskHandler) Rerun

func (h *TaskHandler) Rerun(c *gin.Context)

func (*TaskHandler) Stop

func (h *TaskHandler) Stop(c *gin.Context)

Jump to

Keyboard shortcuts

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