mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-06 09:42:19 +00:00
10 lines
250 B
Go
10 lines
250 B
Go
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/proto package.
|
|
Data interface{}
|
|
}
|