ewmaest

package
v0.0.0-...-5ecb8ee Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EWMAEstimate

type EWMAEstimate struct {
	TotalItems int
	Alpha      float64
	// contains filtered or unexported fields
}

func New

func New(total int) *EWMAEstimate

func (*EWMAEstimate) CompleteItems

func (e *EWMAEstimate) CompleteItems(items int) time.Duration

func (*EWMAEstimate) Progress

func (e *EWMAEstimate) Progress(remainingTime time.Duration) string

func (*EWMAEstimate) StartBlock

func (e *EWMAEstimate) StartBlock()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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