Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MangaDesk ¶
type MangaDesk struct { Client *mangodex.DexClient TView *tview.Application PageHolder *tview.Pages Config *UserConfig LogFile *os.File }
MangaDesk : The client for this application.
var ( App *MangaDesk AppVersion = "MangaDesk v0.7.8" )
App : Global App variable.
func (*MangaDesk) DeleteCredentials ¶
func (m *MangaDesk) DeleteCredentials()
DeleteCredentials : Delete saved credentials from the system.
func (*MangaDesk) Initialise ¶
Initialise : Initialise the app. Return error if unable to restore previous session.
func (*MangaDesk) Shutdown ¶
func (m *MangaDesk) Shutdown()
Shutdown : Stop all services such as logging and let the application shut down gracefully.
func (*MangaDesk) StoreCredentials ¶
StoreCredentials : Store the refresh token.
type UserConfig ¶
type UserConfig struct { DownloadDir string `json:"downloadDir"` Languages []string `json:"languages"` DownloadQuality string `json:"downloadQuality"` ExplicitContent bool `json:"explicitContent"` ForcePort443 bool `json:"forcePort443"` AsZip bool `json:"asZip"` ZipType string `json:"zipType"` }
UserConfig : This struct contains te user configurable settings.
Click to show internal directories.
Click to hide internal directories.