Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaybeUpdateSkippedBytes ¶ added in v0.0.81
func MaybeUpdateSkippedBytes(r io.ReadCloser, count int64)
Types ¶
type ProgressReader ¶
type ProgressReader interface { io.ReadCloser tasks.ActionProgress }
func NewProgressReader ¶
func NewProgressReader(r io.ReadCloser, contentLength uint64) ProgressReader
type ProgressWriter ¶
type ProgressWriter interface { io.WriteCloser tasks.ActionProgress WrapReader(io.ReadCloser) io.ReadCloser WrapBytesAsReader([]byte) io.ReadCloser }
func NewProgressWriter ¶
func NewProgressWriter(contentLength uint64, closer func() error) ProgressWriter
Click to show internal directories.
Click to hide internal directories.