Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChainedCloser ¶
func ChainedCloser(this io.ReadCloser, other io.Closer) io.ReadCloser
func WriterToReader ¶
WriterToReader transforms an io.Writer that is provided by the given function into an io.Reader.
Types ¶
type CloserFunc ¶
type CloserFunc func() error
CloserFunc is the basic Close method defined in io.Closer.
func (CloserFunc) Close ¶
func (fn CloserFunc) Close() error
Close performs close operation by the CloserFunc.
Click to show internal directories.
Click to hide internal directories.