Documentation ¶
Index ¶
Constants ¶
View Source
const ( SyncWorkerProtoID = 1 // include transaction handler ConsensusWorkerProtoID = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerData ¶
type WorkerData struct {
// contains filtered or unexported fields
}
func NewWorkerData ¶
func NewWorkerData(sendPeer *peer.Peer, msg *proto.Message) *WorkerData
func (*WorkerData) GetMsg ¶
func (wd *WorkerData) GetMsg() *proto.Message
func (*WorkerData) GetSendPeer ¶
func (wd *WorkerData) GetSendPeer() *peer.Peer
Click to show internal directories.
Click to hide internal directories.