handler

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
}

Handler implements a gRPC service.

func NewHandler

func NewHandler(biz biz.IBiz, val *validation.Validator) *Handler

NewHandler creates a new instance of Handler.

func (*Handler) CreateCronJob

func (h *Handler) CreateCronJob(c *gin.Context)

CreateCronJob handles the creation of a new cronjob.

func (*Handler) CreateJob

func (h *Handler) CreateJob(c *gin.Context)

CreateJob handles the creation of a new job.

func (*Handler) DeleteCronJob

func (h *Handler) DeleteCronJob(c *gin.Context)

DeleteCronJob handles the deletion of one or more cronjobs.

func (*Handler) DeleteJob

func (h *Handler) DeleteJob(c *gin.Context)

DeleteJob handles the deletion of one or more jobs.

func (*Handler) GetCronJob

func (h *Handler) GetCronJob(c *gin.Context)

GetCronJob retrieves information about a specific cronjob.

func (*Handler) GetJob

func (h *Handler) GetJob(c *gin.Context)

GetJob retrieves information about a specific job.

func (*Handler) ListCronJob

func (h *Handler) ListCronJob(c *gin.Context)

ListCronJob retrieves a list of cronjobs based on query parameters.

func (*Handler) ListJob

func (h *Handler) ListJob(c *gin.Context)

ListJob retrieves a list of jobs based on query parameters.

func (*Handler) UpdateCronJob

func (h *Handler) UpdateCronJob(c *gin.Context)

UpdateCronJob handles updating an existing cronjob's details.

func (*Handler) UpdateJob

func (h *Handler) UpdateJob(c *gin.Context)

UpdateJob handles updating an existing job's details.

Jump to

Keyboard shortcuts

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