Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiReadCloser ¶
func NewMultiReadCloser ¶
func NewMultiReadCloser(rcs []io.ReadCloser) *MultiReadCloser
func (*MultiReadCloser) Close ¶
func (mrc *MultiReadCloser) Close() error
type PositionTrackerReader ¶
type PositionTrackerReader struct {
// contains filtered or unexported fields
}
PositionTrackerReader is an `io.Reader` that tracks the current read position in an underlying `io.Reader`
func NewPositionTrackerReader ¶
func NewPositionTrackerReader(r io.Reader) *PositionTrackerReader
NewPositionTrackerReader creates a new PositionTrackerReader with the initial position set to 0.
func (*PositionTrackerReader) CurrentPos ¶
func (p *PositionTrackerReader) CurrentPos() int64
CurrentPos is the current position of the PositionTrackerReader
type SectionReadCloser ¶
type SectionReadCloser struct {
*io.SectionReader
// contains filtered or unexported fields
}
func NewSectionReadCloser ¶
func NewSectionReadCloser(r *io.SectionReader, c io.Closer) *SectionReadCloser
func (*SectionReadCloser) Close ¶
func (src *SectionReadCloser) Close() error
Click to show internal directories.
Click to hide internal directories.