Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MessageProcesssor ¶
type MessageProcesssor struct { RequiredValue []byte // contains filtered or unexported fields }
func NewMessageProcessor ¶
func NewMessageProcessor(chanDone chan struct{}, requiredVal []byte) *MessageProcesssor
func (*MessageProcesssor) IsInterfaceNil ¶
func (mp *MessageProcesssor) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*MessageProcesssor) ProcessReceivedMessage ¶
func (mp *MessageProcesssor) ProcessReceivedMessage(message p2p.MessageP2P, _ p2p.PeerID) error
func (*MessageProcesssor) WasDataReceived ¶
func (mp *MessageProcesssor) WasDataReceived() bool
Click to show internal directories.
Click to hide internal directories.