interfaces

package
v0.10.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flusher

type Flusher interface {
	Flush() error
}

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

func (*MockWriteCloserFlusher) Write

func (m *MockWriteCloserFlusher) Write(p []byte) (n int, err error)

type ReadReporter

type ReadReporter interface {
	io.Reader
	Reporter
}

type ReadWriteCloseReportFlusher

type ReadWriteCloseReportFlusher interface {
	io.Reader
	WriteFlusherReporter
	io.Closer
}

type Reader2

type Reader2 interface {
	Read2(p []byte) (n int, cmprInfo common.CompressInfo, isNil bool, err error)
}

type Reporter

type Reporter interface {
	Report(common.CompressInfo) error
}

type WriteFlushCloser

type WriteFlushCloser interface {
	io.Writer
	Flusher
	io.Closer
}

type WriteFlusher

type WriteFlusher interface {
	io.Writer
	Flusher
}

type WriteFlusherReporter

type WriteFlusherReporter interface {
	io.Writer
	Flusher
	Reporter
}

type WriterFlusher2

type WriterFlusher2 interface {
	Write2(p []byte) (n int, cmprInfo common.CompressInfo, isNil bool, err error)
	Flush2() (cmprInfo common.CompressInfo, err error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL