batmon/internal/model/model.go
2024-01-11 22:51:07 +03:00

12 lines
224 B
Go

package model
type Battery struct {
Path string `json:"path"`
Command string `json:"command"`
ExtraCommand string `json:"extraCommand"`
}
type BatteryConfig struct {
BatPaths []Battery `json:"batPaths"`
}