mirror of
https://github.com/NotAShelf/batmon.git
synced 2024-11-26 07:06:46 +00:00
12 lines
224 B
Go
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"`
|
||
|
}
|