barpool

package
v1.87.8-cluster Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package barpool provides access to the global pool of progress bars, so they could be rendered altogether.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(bar *pb.ProgressBar)

Add adds bar to the global pool

func AddWithTemplate

func AddWithTemplate(format string, total int) *pb.ProgressBar

AddWithTemplate adds bar with the given template to the global pool

func Start

func Start() error

Start starts the global pool Must be called after all progress bars were added

func Stop

func Stop()

Stop stops the global pool

Types

This section is empty.

Jump to

Keyboard shortcuts

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