progress

package
v0.4.121 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: ISC Imports: 0 Imported by: 0

Documentation

Overview

Package progress provides printable progress reporting for multi-threaded operations

Index

Constants

View Source
const (
	// ValueKey returns the list of retrievable string values
	ValueKey = "values"
	// LogOutput to Value provides output formatted for logging
	LogFormat = "log"
	// TerminalFormat to Value provides output with colors
	TerminalFormat = "log"
	// PlainFormat contains no control characters other than newline
	PlainFormat = "plain"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Progress

type Progress interface {
	Value(key string, parameter int) (value string) // parameter may be available column count for formatting
	Values(key string, parameter int) (values []string)
}

Jump to

Keyboard shortcuts

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