The subscribeRequest and PublishRequest both need Metadata.
@@ -10,6 +10,7 @@ type PublishRequest struct {
Data []byte `json:"data"`
PubsubName string `json:"pubsubname"`
Topic string `json:"topic"`
+ Metadata map[string]string `json:"metadata"`
}
// SubscribeRequest is the request to subscribe to a topic
