Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppWidgets ¶
type AppWidgets struct {
// contains filtered or unexported fields
}
AppWidgets struct holds the widgets needed to run the app and manage the multiple behaviors supported. This is done this way, because some widgets make refernce to others when they get focused, clicked, etc. Besides, tview always returns pointers from its constructor functions.
type Tui ¶
type Tui struct {
// contains filtered or unexported fields
}
Tui struct is the main struct when it comes to manage the UI. It is composed by a pointer to a tview application and the database client responsible for making queries to the database. Tha last field is a AppWidgets instance, so every widget can be accessed through the Tui's reference.
Click to show internal directories.
Click to hide internal directories.