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

Struct Message

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

Message represents a pubsub message

Source from the content-addressed store, hash-verified

8
9// Message represents a pubsub message
10type Message struct {
11 SenderID string
12 Content string
13 msg *pubsub.Message
14}
15
16// GetFrom returns the sender ID
17func (m *Message) GetFrom() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected