Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExampleTransferWithSpeed ¶
func ExampleTransferWithSpeed()
Types ¶
type TransferStats ¶
type TransferStats struct {
// contains filtered or unexported fields
}
func NewTransferStats ¶
func NewTransferStats(fileSize int64, filename string) *TransferStats
func (*TransferStats) DoProgressWithSpeed ¶ added in v1.5.3
func (s *TransferStats) DoProgressWithSpeed(current int64, silent bool, part int64)
Allow user choice of silent or not.
func (*TransferStats) PrintProgressWithSpeed ¶
func (s *TransferStats) PrintProgressWithSpeed(current int64)
silent if not stdout is not a terminal.
func (*TransferStats) SilentProgressWithSpeed ¶ added in v1.5.3
func (s *TransferStats) SilentProgressWithSpeed(current int64)
Click to show internal directories.
Click to hide internal directories.