package classes // The G15Office sync job's contract: SubmitFeedback queues one per stored // submission, the worker files it (SyncFeedbackToG15Office). const ( // SyncG15OfficeKind is the River kind of the job. SyncG15OfficeKind = "golem15.feedback.sync_g15office" // SyncG15OfficeQueue is the job's queue. SyncG15OfficeQueue = "feedback" // SyncG15OfficeLabel is the summer_jobs label, the PHP job class. SyncG15OfficeLabel = `Golem15\Feedback\Jobs\SyncFeedbackToG15Office` // SyncG15OfficeAttempts is SyncFeedbackToG15Office::$tries. SyncG15OfficeAttempts = 3 ) // SyncG15OfficeArgs is the job's argument: the submission to file. type SyncG15OfficeArgs struct { SubmissionID uint `json:"submission_id"` } // Kind is the River job kind. func (SyncG15OfficeArgs) Kind() string { return SyncG15OfficeKind }