Documentation ¶ Index ¶ func DefaultTransformOutput(output string) string type Worker func NewWorker(options *WorkerExecutionOptions) *Worker func (w *Worker) AddEnv(key, value string) func (w *Worker) ExecCommand(name string, args ...string) error func (w *Worker) Run() type WorkerExecutionOptions Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DefaultTransformOutput ¶ func DefaultTransformOutput(output string) string Types ¶ type Worker ¶ type Worker struct { TmpDir string // contains filtered or unexported fields } func NewWorker ¶ func NewWorker(options *WorkerExecutionOptions) *Worker func (*Worker) AddEnv ¶ func (w *Worker) AddEnv(key, value string) func (*Worker) ExecCommand ¶ func (w *Worker) ExecCommand(name string, args ...string) error func (*Worker) Run ¶ func (w *Worker) Run() type WorkerExecutionOptions ¶ type WorkerExecutionOptions struct { Handler executionHandler ExecutionDirectory string TransformOutput func(output string) string IgnoreFilePatterns []string } Source Files ¶ View all Source files files.goworker.go Click to show internal directories. Click to hide internal directories.