Documentation ¶
Index ¶
- type Stats
- func (s *Stats) GetTimeTaken() time.Duration
- func (s *Stats) GetTotalExtensions() int
- func (s *Stats) GetTotalExtensionsClosed() int
- func (s *Stats) GetTotalExtensionsFailed() int
- func (s *Stats) GetTotalFiles() int
- func (s *Stats) GetTotalSize() uint64
- func (s *Stats) IncreaseTotalSize(size uint64)
- func (s *Stats) IncrementTotalExtensions()
- func (s *Stats) IncrementTotalExtensionsClosed()
- func (s *Stats) IncrementTotalExtensionsFailed()
- func (s *Stats) IncrementTotalFiles()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stats ¶
type Stats struct { StartTime time.Time TotalExtensions int TotalExtensionsClosed int TotalExtensionsFailed int TotalFiles int TotalSize uint64 // contains filtered or unexported fields }
Stats holds stats on bulk processing
func (*Stats) GetTimeTaken ¶
func (*Stats) GetTotalExtensions ¶
func (*Stats) GetTotalExtensionsClosed ¶
func (*Stats) GetTotalExtensionsFailed ¶
func (*Stats) GetTotalFiles ¶
func (*Stats) GetTotalSize ¶
func (*Stats) IncreaseTotalSize ¶
func (*Stats) IncrementTotalExtensions ¶
func (s *Stats) IncrementTotalExtensions()
func (*Stats) IncrementTotalExtensionsClosed ¶
func (s *Stats) IncrementTotalExtensionsClosed()
func (*Stats) IncrementTotalExtensionsFailed ¶
func (s *Stats) IncrementTotalExtensionsFailed()
func (*Stats) IncrementTotalFiles ¶
func (s *Stats) IncrementTotalFiles()
Click to show internal directories.
Click to hide internal directories.