Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type FileRecord ¶
type FileRecord struct { Opt string `json:"opt"` // Add Delete FileType string `json:"file_type"` FilePath string `json:"file_path"` VolumeName string `json:"volume"` VolumePath string `json:"volumePath"` }
func (FileRecord) IsDir ¶
func (f FileRecord) IsDir() bool
func (FileRecord) ModTime ¶
func (f FileRecord) ModTime() time.Time
func (FileRecord) Mode ¶
func (f FileRecord) Mode() os.FileMode
func (FileRecord) Name ¶
func (f FileRecord) Name() string
func (FileRecord) Size ¶
func (f FileRecord) Size() int64
func (FileRecord) Sys ¶
func (f FileRecord) Sys() interface{}
type FileRecords ¶
type FileRecords []*FileRecord
func (*FileRecords) Scan ¶
func (fileRecords *FileRecords) Scan(value interface{}) error
type JudgeStatus ¶
type JudgeStatus string
const ( Pending JudgeStatus = "Pending" PartiallyCorrect JudgeStatus = "PartiallyCorrect" WrongAnswer JudgeStatus = "WrongAnswer" Accepted JudgeStatus = "Accepted" SystemError JudgeStatus = "SystemError" JudgementFailed JudgeStatus = "JudgementFailed" CompilationError JudgeStatus = "CompilationError" FileError JudgeStatus = "FileError" RuntimeError JudgeStatus = "RuntimeError" TimeLimitExceeded JudgeStatus = "TimeLimitExceeded" MemoryLimitExceeded JudgeStatus = "MemoryLimitExceeded" OutputLimitExceeded JudgeStatus = "OutputLimitExceeded" InvalidInteraction JudgeStatus = "InvalidInteraction" ConfigurationError JudgeStatus = "ConfigurationError" Canceled JudgeStatus = "Canceled" )
func (*JudgeStatus) Scan ¶
func (p *JudgeStatus) Scan(value interface{}) error
func (JudgeStatus) TableName ¶
func (JudgeStatus) TableName() string
type Page ¶
type Page struct { Model ProblemId uint64 `json:"problemId" gorm:"index: problem_id"` Locale string `json:"locale" gorm:"index: locale"` Title string `json:"title" gorm:"index: title; not null"` // title Description string `json:"description"` InputFormat string `json:"input_format"` OutputFormat string `json:"output_format"` Example string `json:"example"` HintAndLimit string `json:"hint_and_limit"` }
type Submission ¶
type UserGroupCorrelation ¶
Click to show internal directories.
Click to hide internal directories.