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())
Click to show internal directories.
Click to hide internal directories.