Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadCloser ¶
func ReadCloser(in ReaderAtCloser) io.ReadCloser
ReadCloser returns a ReadCloser from ReaderAtCloser.
func WithCloser ¶
func WithCloser(r io.ReadCloser, closer func() error) io.ReadCloser
WithCloser returns a ReadCloser with additional closer function.
Types ¶
type NopWriteCloser ¶
func (*NopWriteCloser) Close ¶
func (w *NopWriteCloser) Close() error
type WriteCloser ¶
type WriteCloser struct {
io.WriteCloser
CloseFunc func() error
}
func (*WriteCloser) Close ¶
func (wc *WriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.