gatedwriter

package
Version: v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	Writer io.Writer
	// contains filtered or unexported fields
}

Writer is an io.Writer implementation that buffers all of its data into an internal buffer until it is told to let data through.

func (*Writer) Flush

func (w *Writer) Flush()

Flush tells the Writer to flush any buffered data and to stop buffering.

func (*Writer) Write

func (w *Writer) Write(p []byte) (n int, err error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL