add more fields to action struct

This commit is contained in:
Sonja Happ 2019-07-05 15:55:50 +02:00
parent 5f84c88c87
commit ef07fdb4ec

View file

@ -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