Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGzipPipe ¶
func NewGzipPipe() (CountWriteCloser, CountReadCloser)
NewGzipPipe - returns wrapped PipeWriter into (GzipWriter && Writer) and PipeReader into (Reader)
Types ¶
type CountReadCloser ¶
type CountReadCloser interface { GetCount() int64 io.ReadCloser }
type CountWriteCloser ¶
type CountWriteCloser interface { GetCount() int64 io.WriteCloser }
type GzipWriter ¶
type GzipWriter struct {
// contains filtered or unexported fields
}
func NewGzipWriter ¶
func NewGzipWriter(w io.WriteCloser) *GzipWriter
func (*GzipWriter) Close ¶
func (gw *GzipWriter) Close() error
Close - closing method with gz buffer flushing
type Reader ¶
type Reader struct { Count int64 // contains filtered or unexported fields }
func NewReader ¶
func NewReader(r io.ReadCloser) *Reader
Click to show internal directories.
Click to hide internal directories.