counter

package
v1.5.7-integrations Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 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 ProgressBar

type ProgressBar struct {
	// contains filtered or unexported fields
}

ProgressBar is a struct that holds the required feilds for a Counter Progress Bar

func NewProgressBar

func NewProgressBar(label string, total int64, progress chan int64, wg *sync.WaitGroup, silent bool) ProgressBar

NewProgressBar creates a new instance of a Counter Progress Bar

func (ProgressBar) Close

func (p ProgressBar) Close() error

Close stops the Counter Progress Bar

func (ProgressBar) Start

func (p ProgressBar) Start()

Start initializes the Counter Progress Bar

Jump to

Keyboard shortcuts

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