vault: Index | Files

package gatedwriter

import ""


Package Files


type Writer Uses

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 Uses

func (w *Writer) Flush()

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

func (*Writer) Write Uses

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

Package gatedwriter imports 2 packages (graph) and is imported by 23 packages. Updated 2016-07-20. Refresh now. Tools for package owners.