Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PassThru ¶
type PassThru struct {
io.ReadCloser
Total *chan int64 // Total # of bytes transferred
}
PassThru wraps an existing io.Reader.
It simply forwards the Read() call, while displaying the results from individual calls to it.
func (*PassThru) Close ¶
Close overrides underlying io.ReadCloser Close method
Source Files
¶
- progressproxy.go
Click to show internal directories.
Click to hide internal directories.