From f3b060794042be31881a5342b4635fc5589cd5c1 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Mon, 2 Nov 2020 13:26:45 +0300 Subject: [PATCH] close github.com/unistack-org/micro-roadmap/issues/26 Signed-off-by: Vasiliy Tolstov --- broker/broker.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/broker/broker.go b/broker/broker.go index c93d1132..883afb0e 100644 --- a/broker/broker.go +++ b/broker/broker.go @@ -32,9 +32,8 @@ type Event interface { // Message is used to transfer data type Message struct { - Header map[string]string - Body []byte - Error error + Header map[string]string // contains message metadata + Body []byte // contains message body } // Subscriber is a convenience return type for the Subscribe method