Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( NewHost, NewWorker, )
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
func NewHost ¶
func NewHost( createFirstAccountsJob jobs.CreateFirstAccounts, scheduleSubmittedExecutingSubmissionToJudgeJob jobs.ScheduleSubmittedExecutingSubmissionToJudge, revertExecutingSubmissionsJob jobs.RevertExecutingSubmissions, httpServer http.Server, logger *zap.Logger, cron *cron.Cron, logicConfig configs.Logic, ) *Host
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func NewWorker ¶
func NewWorker( scheduleSubmittedExecutingSubmissionToJudgeJob jobs.ScheduleSubmittedExecutingSubmissionToJudge, syncProblemsJob jobs.SyncProblems, judgeDistributedFirstSubmittedSubmissionJob jobs.JudgeDistributedFirstSubmittedSubmission, logger *zap.Logger, cron *cron.Cron, logicConfig configs.Logic, ) *Worker
Click to show internal directories.
Click to hide internal directories.