MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / CronJobService

Interface CronJobService

internal/service/sql_job.go:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type CronJobService interface {
12 Preempt(ctx context.Context) (domain.Job, error)
13 ResetNextTime(ctx context.Context, dj domain.Job) error
14}
15
16type cronJobService struct {
17 repo repository.CronJobRepository

Callers 1

PreemptMethod · 0.65

Implementers 1

cronJobServiceinternal/service/sql_job.go

Calls

no outgoing calls

Tested by

no test coverage detected