GetData returns the message content
()
| 20 | |
| 21 | // GetData returns the message content |
| 22 | func (m *Message) GetData() []byte { |
| 23 | return []byte(m.Content) |
| 24 | } |
| 25 | |
| 26 | // PubSub wraps libp2p pubsub with our custom message handling |
| 27 | type PubSub struct { |
no outgoing calls
no test coverage detected