executecode

package
v0.0.0-...-626f07b Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecuteCodePayload

type ExecuteCodePayload struct {
	Code        string `json:"code"`
	LanguageID  int    `json:"language_id"`
	Stdin       string `json:"stdin"`
	TimeLimit   int64  `json:"time_limit"`
	MemoryLimit int64  `json:"memory_limit"`
}

type Usecase

type Usecase struct {
}

func New

func New() *Usecase

func (*Usecase) ExecuteCode

func (uc *Usecase) ExecuteCode(ctx context.Context, payload ExecuteCodePayload) error

Jump to

Keyboard shortcuts

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