Documentation ¶
Index ¶
- type NightWatchService
- func (s *NightWatchService) CreateCronJob(c *gin.Context)
- func (s *NightWatchService) CreateJob(c *gin.Context)
- func (s *NightWatchService) DeleteCronJob(c *gin.Context)
- func (s *NightWatchService) DeleteJob(c *gin.Context)
- func (s *NightWatchService) GetCronJob(c *gin.Context)
- func (s *NightWatchService) GetJob(c *gin.Context)
- func (s *NightWatchService) ListCronJob(c *gin.Context)
- func (s *NightWatchService) ListJob(c *gin.Context)
- func (s *NightWatchService) UpdateCronJob(c *gin.Context)
- func (s *NightWatchService) UpdateJob(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NightWatchService ¶
type NightWatchService struct {
// contains filtered or unexported fields
}
func NewNightWatchService ¶
func NewNightWatchService(valid *validation.Validator, biz biz.IBiz) *NightWatchService
func (*NightWatchService) CreateCronJob ¶
func (s *NightWatchService) CreateCronJob(c *gin.Context)
CreateCronJob handles the creation of a new CronJob.
func (*NightWatchService) CreateJob ¶
func (s *NightWatchService) CreateJob(c *gin.Context)
CreateJob handles the creation of a new Job.
func (*NightWatchService) DeleteCronJob ¶
func (s *NightWatchService) DeleteCronJob(c *gin.Context)
DeleteCronJob handles the deletion of a specified CronJob.
func (*NightWatchService) DeleteJob ¶
func (s *NightWatchService) DeleteJob(c *gin.Context)
DeleteJob handles the deletion of a specified Job.
func (*NightWatchService) GetCronJob ¶
func (s *NightWatchService) GetCronJob(c *gin.Context)
GetCronJob retrieves a specified CronJob.
func (*NightWatchService) GetJob ¶
func (s *NightWatchService) GetJob(c *gin.Context)
GetJob retrieves a specified Job.
func (*NightWatchService) ListCronJob ¶
func (s *NightWatchService) ListCronJob(c *gin.Context)
ListCronJob retrieves all CronJobs.
func (*NightWatchService) ListJob ¶
func (s *NightWatchService) ListJob(c *gin.Context)
ListJob retrieves all Jobs.
func (*NightWatchService) UpdateCronJob ¶
func (s *NightWatchService) UpdateCronJob(c *gin.Context)
UpdateCronJob handles the update of an existing CronJob.
func (*NightWatchService) UpdateJob ¶
func (s *NightWatchService) UpdateJob(c *gin.Context)
UpdateJob handles the update of an existing Job.
Click to show internal directories.
Click to hide internal directories.