Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReReadCloser ¶
type ReReadCloser struct { io.ReadCloser // contains filtered or unexported fields }
ReReadCloser is same as ReReader but also forwards Close calls
func NewReReadCloser ¶
func NewReReadCloser(rc io.ReadCloser) *ReReadCloser
NewReReadCloser return a initialized ReReadCloser
type ReReader ¶
ReReader transparently buffers all reads from a reader until Restarted is set to true. When restarted buffered data will be replayed on read and after that normal reading from the reader continues.
func NewReReader ¶
NewReReader return a initialized ReReader
Click to show internal directories.
Click to hide internal directories.