Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WriterSeeker ¶
type WriterSeeker struct {
// contains filtered or unexported fields
}
WriterSeeker is an in-memory io.WriteSeeker implementation
func (*WriterSeeker) BytesReader ¶
func (ws *WriterSeeker) BytesReader() *bytes.Reader
BytesReader returns a *bytes.Reader. Use it when you need a reader that implements the io.ReadSeeker interface
func (*WriterSeeker) Reader ¶
func (ws *WriterSeeker) Reader() io.Reader
Reader returns an io.Reader. Use it, for example, with io.Copy, to copy the content of the WriterSeeker buffer to an io.Writer
Click to show internal directories.
Click to hide internal directories.