16 lines
389 B
Go
16 lines
389 B
Go
// Package jobs define an interface to execute jobs
|
|
package jobs
|
|
|
|
// JobIDNotional is the job id for notional job.
|
|
const (
|
|
JobIDNotional = "JOB_NOTIONAL_USD"
|
|
JobIDTransferReport = "JOB_TRANSFER_REPORT"
|
|
JobIDHistoricalPrices = "JOB_HISTORICAL_PRICES"
|
|
JobIDMigrationSourceTx = "JOB_MIGRATE_SOURCE_TX"
|
|
)
|
|
|
|
// Job is the interface for jobs.
|
|
type Job interface {
|
|
Run() error
|
|
}
|