Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDockerfile ¶
func BuildDockerfile(language string)
func ContainerCreateAndStart ¶
func ContainerCreateAndStart(json Receiveprogramformat) int
func ReceiveSubmitProgram ¶
Types ¶
type Receiveprogramformat ¶
type Receiveprogramformat struct { Data string `json:"data"` DataID string `json:"dataID"` AuthorID string `json:"authorID"` Language string `json:"language"` Timeout int `json:"timeout"` Memory int `json:"memory"` TestCaseInput []string `json:"testCaseInput"` TestCaseOutput []string `json:"testCaseOutput"` SecretCaseInput []string `json:"secretCaseInput"` SecretCaseOutput []string `json:"secretCaseOutput"` }
Click to show internal directories.
Click to hide internal directories.