types

package
v0.0.0-...-3ffd069 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunCRes

type RunCRes struct {
	Message      string `json:"message"`
	Error        string `json:"error"`
	Stdout       string `json:"stdout"`
	Stderr       string `json:"stderr"`
	ExecDuration int64  `json:"exec_duration"`
	MemUsage     int64  `json:"mem_usage"`
}

type RunReq

type RunReq struct {
	ID       string                `json:"id" validate:"required" form:"id"`
	Code     string                `json:"code"`
	Command  string                `json:"command"`
	File     *multipart.FileHeader `json:"file" form:"file"`
	Language string                `json:"language" validate:"required" form:"language"`
	Variant  string                `json:"variant" validate:"required" form:"variant"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL