sandbox

package
v0.0.0-...-94effb4 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

README

实现一个Go运行沙箱

- 

进度

- 简单版本已实现

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
}

func NewApplication

func NewApplication() *Application

func (*Application) Exec

func (sand *Application) Exec(ctx context.Context, in dto.Input) (out dto.Output, err error)

type StringIO

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

func (*StringIO) Read

func (so *StringIO) Read(p []byte) (n int, err error)

func (*StringIO) String

func (so *StringIO) String() string

func (*StringIO) Write

func (so *StringIO) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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