ui

package
v0.0.0-...-feac844 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogoSize     float32 = 80
	WindowWidth  int     = 377
	WindowHeight int     = 144
	TotalSteps   float32 = 430
)

Variables

This section is empty.

Functions

func Close

func Close()

func DisplayError

func DisplayError(ctx context.Context, err error)

DisplayError closes the progress-bar, sends the error to sentry and displays a pop-up for the user Also adds a breadcrumb to the provided sentry hub connected to the context.

func NotifyNewUpdate

func NotifyNewUpdate()

func PopStyle

func PopStyle()

func ReadProgress

func ReadProgress() float32

func Render

func Render()

func Setup

func Setup(ctx context.Context, fs embed.FS)

func UpdateProgress

func UpdateProgress(i int, msg ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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