Documentation
¶
Index ¶
Constants ¶
View Source
const Height = 6
View Source
const ViewName = "systeminfo"
View Source
const Width = 40
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LatestVersionMsg ¶
type LatestVersionMsg struct {
LatestVersion string
}
LatestVersionMsg reports that the version API returned a newer release than the running build. The app layer reads LatestVersion to raise the startup update notice, so the field is exported.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) CheckLatestVersion ¶
func (*Model) Latest ¶
Latest returns the newest release reported by the version check, or "" if none has been observed yet. The app reads it to populate the on-demand update notice (the proactive notice is driven by LatestVersionMsg directly).
func (*Model) LoadSlowStatus ¶
func (*Model) LoadStatus ¶
func (*Model) SetContent ¶
type NoVersionUpdateMsg ¶
type NoVersionUpdateMsg struct{}
type SlowStatusMsg ¶
type SlowStatusMsg struct {
// contains filtered or unexported fields
}
type SpinnerTickMsg ¶
type SystemInfoMsg ¶
type SystemInfoMsg interface {
// contains filtered or unexported methods
}
SystemInfoMsg is implemented by all messages owned by the systeminfo component. The app-level router uses this to forward messages without listing each type.
Click to show internal directories.
Click to hide internal directories.