2022-10-04 18:47:50 +08:00
|
|
|
package model
|
|
|
|
|
|
|
|
const (
|
2022-10-13 16:32:44 +08:00
|
|
|
TypeProblemPush = "problem:push"
|
|
|
|
TypeSubmitJudge = "submit:judge"
|
2022-10-04 18:47:50 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
type ProblemPushPayload struct {
|
2022-10-13 16:32:44 +08:00
|
|
|
ProblemID uint
|
2022-10-04 18:47:50 +08:00
|
|
|
ProblemFile string
|
|
|
|
}
|
|
|
|
|
|
|
|
type SubmitJudge struct {
|
|
|
|
Submission Submission
|
|
|
|
}
|