Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircleDataRepositry ¶
type CircleRepository ¶
type ExecutedJobsRepositary ¶
type ExecutedJobsRepositary interface {
InsertExecutedJob(ctx context.Context, executedJob model.ExecutedJob) error
}
type JobRepositary ¶
type JobRepositary interface { GetJobs(ctx context.Context, isExecuted bool) ([]model.Job, error) GetJob(ctx context.Context, jobID string) (model.Job, error) InsertJob(ctx context.Context, job model.Job) error UpdateJobExecution(ctx context.Context, JobID string, nextExecutionTime time.Time, isExecuted bool) error UpdateJobLock(ctx context.Context, JobID string, lock bool) error GetExpiredJobs(ctx context.Context, isExecuted bool) ([]model.Job, error) }
type Repository ¶
type Repository interface { JobRepositary ExecutedJobsRepositary CircleRepository CircleDataRepositry TxManager() TxManager }
Click to show internal directories.
Click to hide internal directories.