package
3.11.8+incompatible
Repository: https://github.com/yunionio/cloudmux.git
Documentation: pkg.go.dev
# Functions
NewComputestateDefaultSize returns a new instance of ComputeStats that can tracks maximum of 60 values.
NewComputeStats returns a new instance of ComputeStats.
NewReaderWithProgress creates a new instance of ReaderWithProgress.
NewStatus creates a new instance of Status.
# Structs
ComputeStats type supports computing running average with a given window size.
ReaderWithProgress wraps an io.ReadCloser, it track and report the read progress.
Record type is used by the ProgressStatus to report the progress at regular interval.
Status can be used by a collection of workers (reporters) to report the amount of work done when they need, Status compute the overall progress at regular interval and report it.