MCPcopy
hub / github.com/usememos/memos / Job

Interface Job

internal/cron/cron.go:35–37  ·  view source on GitHub ↗

Job is an interface for submitted cron jobs.

Source from the content-addressed store, hash-verified

33
34// Job is an interface for submitted cron jobs.
35type Job interface {
36 Run()
37}
38
39// Schedule describes a job's duty cycle.
40type Schedule interface {

Callers 8

GetMySQLDSNFunction · 0.65
GetPostgresDSNFunction · 0.65
TestMainFunction · 0.65
runAllDriversFunction · 0.65
TestParseCronExpressionFunction · 0.65

Implementers 5

countJobinternal/cron/chain_test.go
Croninternal/cron/cron.go
DummyJobinternal/cron/cron_test.go
testJobinternal/cron/cron_test.go
Runnerserver/runner/s3presign/runner.go

Calls

no outgoing calls

Tested by

no test coverage detected