You've already forked CasaOS
mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-07-03 23:30:39 +02:00
24 lines
413 B
Go
24 lines
413 B
Go
![]() |
package common
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
|
||
|
"github.com/IceWhaleTech/CasaOS/codegen/message_bus"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
// devtype -> action -> event
|
||
|
EventTypes map[string]map[string]message_bus.EventType
|
||
|
|
||
|
PropertyNameLookupMaps = map[string]map[string]string{
|
||
|
"system": {
|
||
|
fmt.Sprintf("%s:%s", SERVICENAME, "utilization"): "ID_BUS",
|
||
|
},
|
||
|
}
|
||
|
|
||
|
ActionPastTense = map[string]string{
|
||
|
"add": "added",
|
||
|
"remove": "removed",
|
||
|
}
|
||
|
)
|