status

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusManager

type StatusManager struct {
	// contains filtered or unexported fields
}

StatusManager's job is to handle queuing of loading states and toast notifications that you see at the bottom left of the screen.

func NewStatusManager

func NewStatusManager() *StatusManager

func (*StatusManager) AddToastStatus

func (self *StatusManager) AddToastStatus(message string) int

func (*StatusManager) GetStatusString

func (self *StatusManager) GetStatusString() string

func (*StatusManager) HasStatus

func (self *StatusManager) HasStatus() bool

func (*StatusManager) WithWaitingStatus

func (self *StatusManager) WithWaitingStatus(message string, f func())

Jump to

Keyboard shortcuts

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