ui

package
v0.0.0-...-52cf187 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App represents the main application.

func NewApp

func NewApp(cfg *config.Config) (*App, error)

NewApp creates a new application instance.

func (*App) Exit

func (a *App) Exit()

func (*App) GetConfig

func (a *App) GetConfig() *config.Config

func (*App) Run

func (a *App) Run() error

func (*App) SaveConfig

func (a *App) SaveConfig() error

func (*App) Stop

func (a *App) Stop()

type HBRUSH

type HBRUSH uintptr

Win32 types and functions

type UpdateData

type UpdateData struct {
	Timestamp     time.Time
	UploadSpeed   uint64
	DownloadSpeed uint64
	CPUUsage      float64
	MemoryUsage   float64
	MemoryUsed    uint64
	MemoryTotal   uint64
	CPUTemp       float64
	GPUTemp       float64
	DiskTemp      float64
}

UpdateData contains the data to display in the UI.

Jump to

Keyboard shortcuts

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