close github.com/unistack-org/micro-roadmap/issues/26
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
a9eff06976
commit
f3b0607940
@ -32,9 +32,8 @@ type Event interface {
|
|||||||
|
|
||||||
// Message is used to transfer data
|
// Message is used to transfer data
|
||||||
type Message struct {
|
type Message struct {
|
||||||
Header map[string]string
|
Header map[string]string // contains message metadata
|
||||||
Body []byte
|
Body []byte // contains message body
|
||||||
Error error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Subscriber is a convenience return type for the Subscribe method
|
// Subscriber is a convenience return type for the Subscribe method
|
||||||
|
Loading…
Reference in New Issue
Block a user