go-judge/pkg/envexec/doc.go
criyle 1f86f25995 Refactor & Documentation
- pkg/runner -> pkg/envexec
- add idea about executor server
2020-03-03 02:32:59 -05:00

18 lines
479 B
Go

// Package envexec provides utility function to run program in restricted environmet
// through container and cgroup.
//
// Cmd
//
// Cmd defines single program to run, including copyin files before exec, run the program and copy
// out files after exec
//
// Single
//
// Single defines single Cmd with Environment and Cgroup Pool
//
// Group
//
// Group defines multiple Cmd with Environment and Cgroup Pool, together with Pipe mapping between
// different Cmd
package envexec