Documentation ¶
Index ¶
- func AddHead()
- func Headless() bool
- func Heartbeat() time.Time
- func UpdateHeartbeat() time.Time
- type Gui
- func (gui *Gui) AddSessionId() string
- func (gui *Gui) CachedPage(cachedPage string, sessionId string) bool
- func (gui *Gui) Close() error
- func (gui *Gui) CollapseMenu(sessionId string) bool
- func (gui *Gui) ExpandMenu(sessionId string) bool
- func (gui *Gui) GetCachedPage(sessionId string) string
- func (gui *Gui) GetTxHistoryPage(sessionId string) int
- func (gui *Gui) MenuIsCollapsed(sessionId string) bool
- func (gui *Gui) SessionIdExists(sessionId string) bool
- func (gui *Gui) SetStatus(status string)
- func (gui *Gui) SetTxHistoryPage(txHistoryPage int, sessionId string) bool
- func (gui *Gui) Status() string
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateHeartbeat ¶
UpdateHeartbeat updates and returns the heartbeat time.
Types ¶
type Gui ¶
type Gui struct {
// contains filtered or unexported fields
}
Gui is a struct that tracks global settings
func (*Gui) AddSessionId ¶
AddSessionId adds a new session ID to memory.
func (*Gui) CachedPage ¶
CachedPage caches the page without the menu and returns true.
func (*Gui) Close ¶
Close will shut down the GUI, giving the module enough time to run any required closing routines.
func (*Gui) CollapseMenu ¶
CollapseMenu sets the menu state to collapsed and returns true
func (*Gui) ExpandMenu ¶
ExpandMenu sets the menu state to expanded and returns true
func (*Gui) GetCachedPage ¶
GetCachedPage returns the session's cached page.
func (*Gui) GetTxHistoryPage ¶
GetTxHistoryPage returns the session's transaction history page or -1 when no session is found.
func (*Gui) MenuIsCollapsed ¶
MenuIsCollapsed returns true when the menu state is collapsed
func (*Gui) SessionIdExists ¶
SessionIdExists returns true when the supplied session ID exists in memory.
func (*Gui) SetTxHistoryPage ¶
SetTxHistoryPage sets the session's transaction history page and returns true.