stat

package
v0.0.0-...-aa81a11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL