14 lines
214 B
Go
14 lines
214 B
Go
package contracts
|
|
|
|
import (
|
|
"github.com/riverqueue/river"
|
|
)
|
|
|
|
type CronJob interface {
|
|
Kind() string
|
|
Periodic() river.PeriodicSchedule
|
|
JobArgs() river.JobArgs
|
|
InsertOpts() river.InsertOpts
|
|
RunOnStart() bool
|
|
}
|