Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubmissionAMQPWorkerRequest ¶
type SubmissionAMQPWorkerRequest struct { SubmissionID int64 `json:"submission_id"` AccessToken string `json:"access_token"` FrameworkFileURL string `json:"framework_file_url"` SubmissionFileURL string `json:"submission_file_url"` ResultEndpointURL string `json:"result_endpoint_url"` DockerImage string `json:"docker_image"` Sha256 string `json:"sha_256"` EnqueuedAt time.Time `json:"enqueued_at"` }
SubmissionAMQPWorkerRequest is the message which is handed over to the background workers
func NewSubmissionAMQPWorkerRequest ¶
func NewSubmissionAMQPWorkerRequest( courseID int64, taskID int64, submissionID int64, gradeID int64, accessToken string, url string, dockerimage string, sha256 string, visibility string) *SubmissionAMQPWorkerRequest
NewSubmissionAMQPWorkerRequest creates a new message for the workers
Click to show internal directories.
Click to hide internal directories.