From ef07fdb4ec8ab3ef1db9615f3d383ff3ee3f4080 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Fri, 5 Jul 2019 15:55:50 +0200 Subject: [PATCH] add more fields to action struct --- common/amqpclient.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/common/amqpclient.go b/common/amqpclient.go index c7845e4..18df329 100644 --- a/common/amqpclient.go +++ b/common/amqpclient.go @@ -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