Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteWriter ¶
type ByteWriter interface { io.Writer StringWriter io.ByteWriter io.ReaderFrom }
ByteWriter represents efficient io.Writer, that don't need buffering. Implemented by *bufio.Writer and *bytes.Buffer.
type CloserFunc ¶
type CloserFunc func() error
func (CloserFunc) Close ¶
func (f CloserFunc) Close() error
type MultiPassReader ¶
type MultiPassReader struct {
// contains filtered or unexported fields
}
func (*MultiPassReader) Unwrap ¶
func (r *MultiPassReader) Unwrap() io.Reader
type NopCloser ¶
type NopCloser struct{}
NopCloser may be embedded to any struct to implement io.Closer doing nothing on closer.
type ReaderFunc ¶
type ReaderWrapper ¶
type StringWriter ¶
type StringerFunc ¶
type StringerFunc func() string
func (StringerFunc) String ¶
func (f StringerFunc) String() string
type WriterFunc ¶
func NewCallbackWriter ¶
func NewCallbackWriter(w io.Writer, onWrite func()) WriterFunc
Directories ¶
Path | Synopsis |
---|---|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 |
Click to show internal directories.
Click to hide internal directories.