Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WriterSeeker ¶
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) Close ¶
func (ws *WriterSeeker) Close() error
Close is a no-op function that satisfies the io.Closer 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.