Documentation
¶
Index ¶
- func Keys() []string
- type Settings
- func (s Settings) DeveloperMode() bool
- func (s Settings) LastCharacterID() int32
- func (s Settings) LogLevel() string
- func (s Settings) LogLevelDefault() string
- func (s Settings) LogLevelNames() []string
- func (s Settings) LogLevelSlog() slog.Level
- func (s Settings) MaxMails() int
- func (s Settings) MaxMailsPresets() (min int, max int, def int)
- func (s Settings) MaxWalletTransactions() int
- func (s Settings) MaxWalletTransactionsPresets() (min int, max int, def int)
- func (s Settings) NotificationTypesEnabled() set.Set[string]
- func (s Settings) NotifyCommunicationsEarliest() time.Time
- func (s Settings) NotifyCommunicationsEnabled() bool
- func (s Settings) NotifyContractsEarliest() time.Time
- func (s Settings) NotifyContractsEnabled() bool
- func (s Settings) NotifyMailsEarliest() time.Time
- func (s Settings) NotifyMailsEnabled() bool
- func (s Settings) NotifyPIEarliest() time.Time
- func (s Settings) NotifyPIEnabled() bool
- func (s Settings) NotifyTimeoutHours() int
- func (s Settings) NotifyTimeoutHoursPresets() (min int, max int, def int)
- func (s Settings) NotifyTrainingEarliest() time.Time
- func (s Settings) NotifyTrainingEnabled() bool
- func (s Settings) RecentSearches() []int32
- func (s Settings) ResetDeveloperMode()
- func (s Settings) ResetLastCharacterID()
- func (s Settings) ResetLogLevel()
- func (s Settings) ResetMaxMails()
- func (s Settings) ResetMaxWalletTransactions()
- func (s Settings) ResetNotificationTypesEnabled()
- func (s Settings) ResetNotifyCommunicationsEnabled()
- func (s Settings) ResetNotifyContractsEnabled()
- func (s Settings) ResetNotifyMailsEnabled()
- func (s Settings) ResetNotifyPIEnabled()
- func (s Settings) ResetNotifyTimeoutHours()
- func (s Settings) ResetNotifyTrainingEnabled()
- func (s Settings) ResetSysTrayEnabled()
- func (s Settings) ResetTabsMainID()
- func (s Settings) ResetWindowSize()
- func (s Settings) SetDeveloperMode(v bool)
- func (s Settings) SetLastCharacterID(id int32)
- func (s Settings) SetLogLevel(l string)
- func (s Settings) SetMaxMails(v int)
- func (s Settings) SetMaxWalletTransactions(v int)
- func (s Settings) SetNotificationTypesEnabled(v set.Set[string])
- func (s Settings) SetNotifyCommunicationsEarliest(t time.Time)
- func (s Settings) SetNotifyCommunicationsEnabled(v bool)
- func (s Settings) SetNotifyContractsEarliest(t time.Time)
- func (s Settings) SetNotifyContractsEnabled(v bool)
- func (s Settings) SetNotifyMailsEarliest(t time.Time)
- func (s Settings) SetNotifyMailsEnabled(v bool)
- func (s Settings) SetNotifyPIEarliest(t time.Time)
- func (s Settings) SetNotifyPIEnabled(v bool)
- func (s Settings) SetNotifyTimeoutHours(v int)
- func (s Settings) SetNotifyTrainingEarliest(t time.Time)
- func (s Settings) SetNotifyTrainingEnabled(v bool)
- func (s Settings) SetRecentSearches(v []int32)
- func (s Settings) SetSysTrayEnabled(v bool)
- func (s Settings) SetTabsMainID(v int)
- func (s Settings) SetWindowSize(v fyne.Size)
- func (s Settings) SysTrayEnabled() bool
- func (s Settings) TabsMainID() int
- func (s Settings) WindowSize() fyne.Size
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
Settings represents the settings for the app and provides an API for reading and writing settings.
func (Settings) DeveloperMode ¶
func (Settings) LastCharacterID ¶
func (Settings) LogLevelDefault ¶
func (Settings) LogLevelNames ¶
func (Settings) LogLevelSlog ¶
func (Settings) MaxWalletTransactions ¶
func (Settings) MaxWalletTransactionsPresets ¶
func (Settings) NotificationTypesEnabled ¶
func (Settings) NotifyCommunicationsEarliest ¶
func (Settings) NotifyCommunicationsEnabled ¶
func (Settings) NotifyContractsEarliest ¶
func (Settings) NotifyContractsEnabled ¶
func (Settings) NotifyMailsEarliest ¶
func (Settings) NotifyMailsEnabled ¶
func (Settings) NotifyPIEarliest ¶
func (Settings) NotifyPIEnabled ¶
func (Settings) NotifyTimeoutHours ¶
func (Settings) NotifyTimeoutHoursPresets ¶
func (Settings) NotifyTrainingEarliest ¶
func (Settings) NotifyTrainingEnabled ¶
func (Settings) RecentSearches ¶
func (Settings) ResetDeveloperMode ¶
func (s Settings) ResetDeveloperMode()
func (Settings) ResetLastCharacterID ¶
func (s Settings) ResetLastCharacterID()
func (Settings) ResetLogLevel ¶
func (s Settings) ResetLogLevel()
func (Settings) ResetMaxMails ¶
func (s Settings) ResetMaxMails()
func (Settings) ResetMaxWalletTransactions ¶
func (s Settings) ResetMaxWalletTransactions()
func (Settings) ResetNotificationTypesEnabled ¶
func (s Settings) ResetNotificationTypesEnabled()
func (Settings) ResetNotifyCommunicationsEnabled ¶
func (s Settings) ResetNotifyCommunicationsEnabled()
func (Settings) ResetNotifyContractsEnabled ¶
func (s Settings) ResetNotifyContractsEnabled()
func (Settings) ResetNotifyMailsEnabled ¶
func (s Settings) ResetNotifyMailsEnabled()
func (Settings) ResetNotifyPIEnabled ¶
func (s Settings) ResetNotifyPIEnabled()
func (Settings) ResetNotifyTimeoutHours ¶
func (s Settings) ResetNotifyTimeoutHours()
func (Settings) ResetNotifyTrainingEnabled ¶
func (s Settings) ResetNotifyTrainingEnabled()
func (Settings) ResetSysTrayEnabled ¶
func (s Settings) ResetSysTrayEnabled()
func (Settings) ResetTabsMainID ¶
func (s Settings) ResetTabsMainID()
func (Settings) ResetWindowSize ¶
func (s Settings) ResetWindowSize()
func (Settings) SetDeveloperMode ¶
func (Settings) SetLastCharacterID ¶
func (Settings) SetLogLevel ¶
func (Settings) SetMaxMails ¶
func (Settings) SetMaxWalletTransactions ¶
func (Settings) SetNotificationTypesEnabled ¶
func (Settings) SetNotifyCommunicationsEarliest ¶
func (Settings) SetNotifyCommunicationsEnabled ¶
func (Settings) SetNotifyContractsEarliest ¶
func (Settings) SetNotifyContractsEnabled ¶
func (Settings) SetNotifyMailsEarliest ¶
func (Settings) SetNotifyMailsEnabled ¶
func (Settings) SetNotifyPIEarliest ¶
func (Settings) SetNotifyPIEnabled ¶
func (Settings) SetNotifyTimeoutHours ¶
func (Settings) SetNotifyTrainingEarliest ¶
func (Settings) SetNotifyTrainingEnabled ¶
func (Settings) SetRecentSearches ¶
func (Settings) SetSysTrayEnabled ¶
func (Settings) SetTabsMainID ¶
func (Settings) SetWindowSize ¶
func (Settings) SysTrayEnabled ¶
func (Settings) TabsMainID ¶
func (Settings) WindowSize ¶
Click to show internal directories.
Click to hide internal directories.