batmon/internal/model/model.go

12 lines
224 B
Go
Raw Normal View History

2024-01-11 19:51:07 +00:00
package model
type Battery struct {
Path string `json:"path"`
Command string `json:"command"`
ExtraCommand string `json:"extraCommand"`
}
type BatteryConfig struct {
BatPaths []Battery `json:"batPaths"`
}