runner

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default(r *Runner)

func Test

func Test(r *Runner)

Types

type RunFunc

type RunFunc func(cmd *exec.Cmd) ([]byte, error)

type Runner

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

func New

func New(option RunnerTypeFunc) *Runner

func (*Runner) Run

func (r *Runner) Run(script string, args ...string) ([]byte, error)

type RunnerTypeFunc

type RunnerTypeFunc func(r *Runner)

Jump to

Keyboard shortcuts

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