command

package
v6.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package command is work in progress, and may be abandoned.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Start() error
	Wait() error
	Abort() error
}

type Runner

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

func NewRunner

func NewRunner(commands []Command) *Runner

func (*Runner) Abort

func (r *Runner) Abort() error

func (*Runner) Start

func (r *Runner) Start() error

func (*Runner) Wait

func (r *Runner) Wait() error

Jump to

Keyboard shortcuts

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