Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Statistics ¶
type Statistics struct { StartAt time.Time Count int64 TotalSize int64 SuccessCount int64 SuccessSize int64 FailedCount int64 FailedSize int64 LastTotalCount int64 LastTotalSize int64 LastSuccessCount int64 LastSuccessSize int64 Speed string SuccessSpeed string }
func (*Statistics) AddFailedCount ¶
func (s *Statistics) AddFailedCount(count int64)
func (*Statistics) AddFailedSize ¶
func (s *Statistics) AddFailedSize(size int64)
func (*Statistics) AddSuccessCount ¶
func (s *Statistics) AddSuccessCount(count int64)
func (*Statistics) AddSuccessSize ¶
func (s *Statistics) AddSuccessSize(size int64)
func (*Statistics) Start ¶
func (s *Statistics) Start()
func (*Statistics) Stat ¶
func (s *Statistics) Stat() string
Click to show internal directories.
Click to hide internal directories.