simplify the driver interface

This commit is contained in:
alu
2026-08-07 09:29:17 -07:00
parent b99bb45877
commit 31c409a94c
13 changed files with 181 additions and 197 deletions
-8
View File
@@ -8,10 +8,6 @@ type MemoryUsage struct {
UsedPercent float64
}
type UsageDriver interface {
ReadUsageSensors() (MemoryUsage, error)
}
// MemoryHardware holds physical RAM slot and module details
type MemoryHardware struct {
MaxCapacityGB float64
@@ -22,7 +18,3 @@ type MemoryHardware struct {
FormFactors []string
ModelNames []string
}
type HardwareDriver interface {
ReadHardwareSensors() (MemoryHardware, error)
}