Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tv42/moreio
Go package that combines a ReadCloser and a WriteCloser into a ReadWriteCloser
https://github.com/tv42/moreio
Last synced: 20 days ago
JSON representation
Go package that combines a ReadCloser and a WriteCloser into a ReadWriteCloser
- Host: GitHub
- URL: https://github.com/tv42/moreio
- Owner: tv42
- Created: 2010-10-09T16:47:02.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2013-04-16T16:29:39.000Z (over 11 years ago)
- Last Synced: 2024-10-16T02:07:46.554Z (2 months ago)
- Language: Go
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
============================================================================
``moreio`` - combine a ReadCloser and a WriteCloser into a ReadWriteCloser
============================================================================This is a simple utility package. Hopefully this will get integrated
into Go upstream ``io`` package.If you have a ``ReadCloser`` and a ``WriteCloser``, you can combine
them (reads go to ``ReadCloser``, writes go to ``WriteCloser``, close
goes to both) with a simple call to ``NewReadWriteCloser``.This is most useful for taking the read end of one pipe, the write end
of another, and making those appear like a single logical file.