testutil

package
Version: v0.0.0-...-54f90a5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2015 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capturer

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

Capturer is object to capture stdout/stderr.

func NewStderrCapturer

func NewStderrCapturer() *Capturer

NewStderrCapturer creates capturer for stderr.

func NewStdoutCapturer

func NewStdoutCapturer() *Capturer

NewStderrCapturer creates capturer for stdout.

func (*Capturer) Start

func (c *Capturer) Start()

Start starts capturing.

func (*Capturer) Stop

func (c *Capturer) Stop() string

Stop stops capturing.

Source Files

Jump to

Keyboard shortcuts

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