Documentation ¶
Index ¶
Constants ¶
View Source
const ( WindowTitle string = "Alpine Client" WindowWidth int = 377 WindowHeight int = 144 MaxProgress int = 1000 // 1000 is used over 100 to make bar smoother )
Variables ¶
This section is empty.
Functions ¶
func DisplayError ¶
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()
Types ¶
type ProgressiveTask ¶
type ProgressiveTask struct {
// contains filtered or unexported fields
}
func NewProgressTask ¶
func NewProgressTask(label string) *ProgressiveTask
func (*ProgressiveTask) UpdateProgress ¶
func (pt *ProgressiveTask) UpdateProgress(v float64, label ...string)
Click to show internal directories.
Click to hide internal directories.