mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
add more fields to action struct
This commit is contained in:
parent
5f84c88c87
commit
ef07fdb4ec
1 changed files with 5 additions and 4 deletions
|
@ -18,10 +18,11 @@ type AMQPclient struct {
|
|||
}
|
||||
|
||||
type Action struct {
|
||||
Act string `json:"action"`
|
||||
When float32 `json:"when"`
|
||||
|
||||
// TODO add more fields here
|
||||
Act string `json:"action"`
|
||||
When float32 `json:"when"`
|
||||
Parameters struct{} `json:"parameters"`
|
||||
Model struct{} `json:"model"`
|
||||
Results struct{} `json:"results"`
|
||||
}
|
||||
|
||||
var client AMQPclient
|
||||
|
|
Loading…
Add table
Reference in a new issue