executor

package
v0.0.0-...-9338b8f Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerExecutor

type DockerExecutor struct {
	// contains filtered or unexported fields
}

func NewDockerExecutor

func NewDockerExecutor() (*DockerExecutor, error)

func (*DockerExecutor) Execute

func (e *DockerExecutor) Execute(code, language string, timeout time.Duration) (string, error)

type Executor

type Executor interface {
	Execute(code, language string) (string, error)
}

Jump to

Keyboard shortcuts

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