types

package
v0.0.0-...-c9d2d86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2018 License: ISC Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL