gatedwriter

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MPL-2.0 Imports: 2 Imported by: 85

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)

Jump to

Keyboard shortcuts

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