app

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Matches []models.MatchInfo
	// contains filtered or unexported fields
}

App represents the main application structure

func New

func New() (*App, error)

New initializes a new App instance with all live matches

func NewWithMatchID

func NewWithMatchID(matchID uint32) (*App, error)

NewWithMatchID initializes a new App instance with a specific match ID

func (*App) GetMatchNames

func (a *App) GetMatchNames() []string

GetMatchNames returns a slice of match names formatted for display

func (*App) UpdateMatches

func (a *App) UpdateMatches() error

UpdateMatches updates the matches in the App instance

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL