ReadCloser implements io.ReadCloser by reading from a particular io.Reader and then calling the provided "Close()" method.
type ReadCloser struct { io.Reader CloseFunc func() error }
func (rac *ReadCloser) Close() error
Close implements io.ReadCloser
WriteCloser implements io.WriteCloser by reading from a particular io.Writer and then calling the provided "Close()" method.
type WriteCloser struct { io.Writer CloseFunc func() error }
func (wac *WriteCloser) Close() error
Close implements io.WriteCloser