Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWriteCloserFlusher ¶
type MockWriteCloserFlusher struct {
// contains filtered or unexported fields
}
func NewMockWriteCloserFlusher ¶
func NewMockWriteCloserFlusher(w io.WriteCloser) *MockWriteCloserFlusher
func (*MockWriteCloserFlusher) Close ¶
func (m *MockWriteCloserFlusher) Close() error
func (*MockWriteCloserFlusher) Flush ¶
func (m *MockWriteCloserFlusher) Flush() error
type ReadReporter ¶
type ReadWriteCloseReportFlusher ¶
type ReadWriteCloseReportFlusher interface { io.Reader WriteFlusherReporter io.Closer }
type Reporter ¶
type Reporter interface {
Report(common.CompressInfo) error
}
type WriteFlusher ¶
type WriterFlusher2 ¶
type WriterFlusher2 interface { Write2(p []byte) (n int, cmprInfo common.CompressInfo, isNil bool, err error) Flush2() (cmprInfo common.CompressInfo, err error) }
Click to show internal directories.
Click to hide internal directories.