progress

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package progress provides thin wrappers and helpers around the go-pretty progress package to simplify aggregate progress reporting across multiple activities.

Index

Constants

View Source
const (
	PositionLeft  = progress.PositionLeft
	PositionRight = progress.PositionRight
)

Variables

View Source
var (
	UnitsDefault = progress.UnitsDefault
	UnitsBytes   = progress.UnitsBytes
)

Functions

func AddTracker

func AddTracker(ctx context.Context, t *progress.Tracker)

func ContextWriter

func ContextWriter(ctx context.Context) progress.Writer

func StartWriter

func StartWriter(ctx context.Context) (_ context.Context, stop func())

func WithWriter

func WithWriter(ctx context.Context, w progress.Writer) context.Context

Types

type Tracker

type Tracker = progress.Tracker

Jump to

Keyboard shortcuts

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