tasks

package
v0.0.0-...-a5025f8 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompileTask

type CompileTask struct {
	Config *models.Config
	Logger *log.Logger

	Request  *eval.CompileRequest
	Response *eval.CompileResponse
}

func (*CompileTask) Run

func (task *CompileTask) Run(ctx context.Context, sandbox eval.Sandbox) error

type ExecuteTask

type ExecuteTask struct {
	Config *models.Config
	Logger *log.Logger

	Request  *eval.ExecuteRequest
	Response *eval.ExecuteResponse
}

func (*ExecuteTask) Run

func (t *ExecuteTask) Run(ctx context.Context, sandbox eval.Sandbox) error

Jump to

Keyboard shortcuts

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