feat(events):PubSub Message metadata field

event
Casper 3 years ago
parent cc42f76d9d
commit ea59afe189
  1. 1
      events/pubsub.go

@ -12,6 +12,7 @@ type Handler interface {
type Message struct { type Message struct {
Topic string Topic string
Data []byte Data []byte
Metadata map[string]interface{}
} }
type PublishMetadata struct { type PublishMetadata struct {

Loading…
Cancel
Save