prysm-pulse/shared/p2p/message.go
2018-07-24 10:21:58 -05:00

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{}
}