feat(events):PubSub Message metadata field

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

@ -10,8 +10,9 @@ type Handler interface {
}
type Message struct {
Topic string
Data []byte
Topic string
Data []byte
Metadata map[string]interface{}
}
type PublishMetadata struct {

Loading…
Cancel
Save