Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeferredReader ¶
type MultiCloser ¶
MultiCloser implements Closer by calling lots of Closers
func MultiCloserAppend ¶
func MultiCloserAppend(i io.Closer, cs ...io.Closer) MultiCloser
MultiCloserAppend is a helper method for appending several closers into one closer
func (MultiCloser) Close ¶
func (mc MultiCloser) Close() error
type ReadCloser ¶
ReadCloser implements io.ReadCloser in a struct with embedded types so we can use it above.
type ReaderFunc ¶
A ReaderFunc is any func that can read into a slice.
type WriteCloser ¶
WriteCloser implements io.WriteCloser with the components separated back out. Most useful for doing multiple actions upon Close() in combination with MultiCloser.
Click to show internal directories.
Click to hide internal directories.