Documentation ¶
Index ¶
Constants ¶
View Source
const (
TEMP_FILE_PREFIX = `wgcs-`
)
Variables ¶
View Source
var (
DEBUG_MODE = false
)
Functions ¶
This section is empty.
Types ¶
type Exec ¶
type Exec struct { Path string TmpPath string Hash string ProcExecution bool // contains filtered or unexported fields }
Exec is an in-memory executable code unit.
func New ¶
New creates new memory execution object that can be used for executing commands on a memory based binary.
func (*Exec) Close ¶
Close closes Exec object.
Any further command will fail, it's client's responsibility to control the flow by using synchronization algorithms.
Click to show internal directories.
Click to hide internal directories.