Documentation ¶
Index ¶
- type Reader
- type Writer
- func (w *Writer) Close() error
- func (w *Writer) ConnectTo(writer io.Writer)
- func (*Writer) Fd() uintptr
- func (w *Writer) Flush() (err error)
- func (w *Writer) String() string
- func (w *Writer) Truncate()
- func (w *Writer) Write(p []byte) (n int, err error)
- func (w *Writer) WriteString(s string) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
Reader is a simple buffer reader for testing. It implements these interfaces: - io.Reader - io.ReadCloser - io.Closer - terminal.FileReader.
func NewBufferedReader ¶
func NewBufferedReader() *Reader
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is a simple buffer writer for testing. It implements these interfaces: - io.Writer - io.WriteCloser - io.Closer - terminal.FileWriter.
func NewBufferedWriter ¶
func NewBufferedWriter() *Writer
Click to show internal directories.
Click to hide internal directories.