models

package
v0.0.0-...-4f4fead Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionFile

type ExecutionFile struct {
	Name    string `json:"name" validate:"required"`
	Content string `json:"content" validate:"required"`
}

type ExecutionRequest

type ExecutionRequest struct {
	Language   string          `json:"language" validate:"required"`
	EntryPoint string          `json:"entrypoint" validate:"required"`
	Files      []ExecutionFile `json:"files" validate:"required"`
}

type ExecutionResponse

type ExecutionResponse struct {
	Stderr          string `json:"stderr"`
	Stdout          string `json:"stdout"`
	ExecutionTime   string `json:"executionTime"`
	PreparationTime string `json:"preparationTime"`
}

type RuntimeResponse

type RuntimeResponse struct{}

Jump to

Keyboard shortcuts

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