init push
This commit is contained in:
7
backend/mq/types/message.go
Normal file
7
backend/mq/types/message.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package types
|
||||
|
||||
// Message represents a generic message that can be from either Kafka or NATS
|
||||
type Message interface {
|
||||
GetData() []byte
|
||||
GetTopic() string
|
||||
}
|
||||
Reference in New Issue
Block a user