Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReadSeeker ¶ added in v0.146.0
type ReadSeeker struct { io.ReadSeeker // contains filtered or unexported fields }
ReadSeeker is a wrapper around io.ReadSeeker that updates a progress bar.
func NewReadSeeker ¶ added in v0.146.0
func NewReadSeeker(r io.ReadSeeker, bar *progressbar.ProgressBar) ReadSeeker
NewReadSeeker returns a new ReadSeeker with the given bar.
func (*ReadSeeker) Close ¶ added in v0.146.0
func (r *ReadSeeker) Close() (err error)
Click to show internal directories.
Click to hide internal directories.