Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetUniversalHandlers ¶
func SetUniversalHandlers()
SetUniversalHandlers : Set universal inputs for the app.
func ShowMangaPage ¶
ShowMangaPage : Make the app show the manga page.
Types ¶
type MainPage ¶
type MainPage struct { Grid *tview.Grid // The page grid. Table *tview.Table // The table that contains the list of manga. CurrentOffset int MaxOffset int // contains filtered or unexported fields }
MainPage : This struct contains the grid and the entry table. In addition, it also keeps track of whether to show followed/popular manga based on login status as well as the entry offset.
type MangaPage ¶
type MangaPage struct { Manga *mangodex.Manga Grid *tview.Grid Info *tview.TextView Table *tview.Table // contains filtered or unexported fields }
MangaPage : This struct contains the required primitives for the manga page.
type SearchPage ¶
SearchPage : This struct contains the search bar and the table of results for the search. This struct reuses the MainPage struct, specifically for the guest table.
type SearchParams ¶ added in v0.7.2
type SearchParams struct {
// contains filtered or unexported fields
}
SearchParams : Convenience struct to hold parameters for setting up a search table.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.