prysm-pulse/sharding/p2p/message.go

10 lines
253 B
Go
Raw Normal View History

package p2p
// Message represents a message received from an external peer.
type Message struct {
// Peer represents the sender of the message.
Peer Peer
// Data can be any type of message found in sharding/p2p/messages package.
Data interface{}
}