Documentation ¶
Index ¶
Constants ¶
View Source
const ( MenuItemMain = "> Menu" MenuItemMainSettings = "Settings" MenuItemMainAbout = "About" AboutText = "@Author: Manuel Reschke\n " + "@Github: https://github.com/ManuelReschke/go-pd-gui\n\n " + "This tool was made by Manuel Reschke under MIT Licence.\n\n " + "Version: " + Version )
View Source
const ( FormLabel = "API KEY:" FormLabelInput = "*optional" SettingAPIKey = "setting.apikey" SettingUserInfoJSON = "setting.user.info.json" SettingUsername = "setting.user.name" SettingUserSubscription = "setting.user.subscription" )
View Source
const ( Version = "v1.1.0" AppID = "com.gopdgui.app" WindowTitle = "Go-PD-GUI - DRAINY - PixelDrain Upload Tool" WindowWidth = 550 WindowHeight = 600 Headline = "PixelDrain.com Upload Tool" ButtonCopy = "Copy" ButtonUpload = "Upload" EmptyString = "" )
Variables ¶
This section is empty.
Functions ¶
func BuildHistoryWindow ¶
func BuildHistoryWindow()
func BuildMainMenu ¶
func BuildMainMenu() *fyne.MainMenu
func BuildSettingsWindow ¶
func BuildSettingsWindow()
func BuildStart ¶
func BuildStart()
Types ¶
type AppData ¶
type AppData struct { App fyne.App Window fyne.Window Containers map[string]*fyne.Container Settings Settings Storage Storage }
var MyApp AppData
type HistoryItems ¶
type HistoryItems map[int]pd.FileGetUser
HistoryItems is a custom wrapper for the custom sort
func (HistoryItems) Len ¶
func (m HistoryItems) Len() int
func (HistoryItems) Less ¶
func (m HistoryItems) Less(i, j int) bool
func (HistoryItems) Swap ¶
func (m HistoryItems) Swap(i, j int)
type Storage ¶
type Storage struct { Username string LastElement UploadHistory UploadHistory []UploadHistory }
Click to show internal directories.
Click to hide internal directories.