moreio

module
v0.0.0-...-d00ee4e Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2015 License: MIT

README

moreio

Some additional IO utilities for Go.

  • RollingReader: Concatenate an arbitrary number of io.Readers into a single Reader. Like io.MultiReader, but supports addition of Readers during consumption. Thus, a RollingReader requires manual closure.
  • SharedBuffer: Buffer which supports multiple concurrent readers. Flushes the portion of the buffer which has been read by all.
  • Meters: Wrappers for io.Readers and io.Writers which count total amount of bytes read and written, respectively.
  • Stream: Encoder and Decoder for a stream of undefined length. It uses a chunked transfer encoding, where each chunk's length is specified in front of the chunk.

Directories

Path Synopsis
meters provide the ability to track usage of io.Writers and io.Readers.
meters provide the ability to track usage of io.Writers and io.Readers.
rollingreader implements a concatenation of io.Readers, which may be included at any time.
rollingreader implements a concatenation of io.Readers, which may be included at any time.
SharedBuffer reader.
SharedBuffer reader.

Jump to

Keyboard shortcuts

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