MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / GetData

Method GetData

IceFireDB-SQLProxy/pkg/p2p/pubsub.go:22–24  ·  view source on GitHub ↗

GetData returns the message content

()

Source from the content-addressed store, hash-verified

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

Callers 2

handleInboundMethod · 0.80
asyncSQLFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected