Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BmMailAppType ¶
type BmMailAppType struct { App *tview.Application // Main TUI application Pages *tview.Pages // Set of pages for the TUI application Vault *vault.Vault // Opened vault (or nil) CurrentAddr *address.Address // Current selected account (or nil) CurrentBox *string // Current selected box (or nil) CurrentMessage *string // Current selected message (or nil) StaleVault bool // when true, the vault must be refreshed StaleAddr bool // when true, the address must be refreshed StaleBox bool // when true, the box must be refreshed StaleMessage bool // when true, the message must be refreshed // Cached items, can change at any time MailBoxLists map[string]*api.MailboxList // Cache of all mailboxes CachedMailboxMessages *api.MailboxMessages // Cache of current selected mailbox messages Client *api.API // Current connection to the server // GLobal UI elements that we need to populate / use at certain occasions MessageAccountTree *tview.TreeView MessageBoxTree *tview.TreeView MessageList *components.MessageList MessageView *tview.TextView }
BmMailAppType is a struct that holds the current application and "global" data
var MailApp *BmMailAppType
MailApp is the general mail app structure
Click to show internal directories.
Click to hide internal directories.