Documentation ¶
Index ¶
- type CommandHandler
- func (ch *CommandHandler) CheckForUpdate() (bool, error)
- func (ch *CommandHandler) GetAppVersion() string
- func (ch *CommandHandler) GetFormattedErrorModelUnused() *errorsx.FormattedError
- func (ch *CommandHandler) GetGuiConfig() (*model.GuiConfig, error)
- func (ch *CommandHandler) GetMatches(sessionId uint16, userId string, limit uint8, offset uint16) ([]*model.Match, error)
- func (ch *CommandHandler) GetSessions(userId string) ([]*model.Session, error)
- func (ch *CommandHandler) GetSupportedLanguages() []string
- func (ch *CommandHandler) GetThemes() ([]model.Theme, error)
- func (ch *CommandHandler) GetTrackingStateUnused() *model.TrackingState
- func (ch *CommandHandler) GetTranslation(locale string) (*locales.Localization, error)
- func (ch *CommandHandler) GetUsers() ([]*model.User, error)
- func (ch *CommandHandler) OpenResultsDirectory()
- func (ch *CommandHandler) SaveLocale(locale string) error
- func (ch *CommandHandler) SaveSidebarMinimized(sidebarMinified bool) error
- func (ch *CommandHandler) SaveTheme(theme model.ThemeName) error
- func (ch *CommandHandler) SelectGame(game string) error
- func (ch *CommandHandler) SetContext(ctx context.Context)
- func (ch *CommandHandler) StartTracking(cfn string, restore bool) error
- func (ch *CommandHandler) StopTracking()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CommandHandler struct {
// contains filtered or unexported fields
}
The CommandHandler is the interface between the GUI and the core
func NewCommandHandler ¶
func (*CommandHandler) CheckForUpdate ¶
func (ch *CommandHandler) CheckForUpdate() (bool, error)
func (*CommandHandler) GetAppVersion ¶
func (ch *CommandHandler) GetAppVersion() string
func (*CommandHandler) GetFormattedErrorModelUnused ¶
func (ch *CommandHandler) GetFormattedErrorModelUnused() *errorsx.FormattedError
func (*CommandHandler) GetGuiConfig ¶
func (ch *CommandHandler) GetGuiConfig() (*model.GuiConfig, error)
func (*CommandHandler) GetMatches ¶
func (*CommandHandler) GetSessions ¶
func (ch *CommandHandler) GetSessions(userId string) ([]*model.Session, error)
func (*CommandHandler) GetSupportedLanguages ¶
func (ch *CommandHandler) GetSupportedLanguages() []string
func (*CommandHandler) GetTrackingStateUnused ¶
func (ch *CommandHandler) GetTrackingStateUnused() *model.TrackingState
func (*CommandHandler) GetTranslation ¶
func (ch *CommandHandler) GetTranslation(locale string) (*locales.Localization, error)
func (*CommandHandler) OpenResultsDirectory ¶
func (ch *CommandHandler) OpenResultsDirectory()
func (*CommandHandler) SaveLocale ¶
func (ch *CommandHandler) SaveLocale(locale string) error
func (*CommandHandler) SaveSidebarMinimized ¶
func (ch *CommandHandler) SaveSidebarMinimized(sidebarMinified bool) error
func (*CommandHandler) SelectGame ¶
func (ch *CommandHandler) SelectGame(game string) error
func (*CommandHandler) SetContext ¶
func (ch *CommandHandler) SetContext(ctx context.Context)
The CommandHandler needs the wails runtime context in order to emit events
func (*CommandHandler) StartTracking ¶
func (ch *CommandHandler) StartTracking(cfn string, restore bool) error
func (*CommandHandler) StopTracking ¶
func (ch *CommandHandler) StopTracking()
Click to show internal directories.
Click to hide internal directories.