Documentation
¶
Index ¶
- type ProtoManager
- func (pm *ProtoManager) CreateStatusMsg() (*proto.Message, error)
- func (pm *ProtoManager) Handle(sendPeer *peer.Peer, msg *proto.Message) error
- func (pm *ProtoManager) InitAndRegisterWorker()
- func (pm *ProtoManager) RegisterWorker(protocalID mproto.ProtoID, workers []mpool.VmWorker) error
- func (pm *ProtoManager) SetBlockChain(bc *blockchain.Blockchain)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtoManager ¶
func NewProtoManager ¶
func NewProtoManager() *ProtoManager
func (*ProtoManager) CreateStatusMsg ¶
func (pm *ProtoManager) CreateStatusMsg() (*proto.Message, error)
func (*ProtoManager) InitAndRegisterWorker ¶
func (pm *ProtoManager) InitAndRegisterWorker()
func (*ProtoManager) RegisterWorker ¶
func (*ProtoManager) SetBlockChain ¶
func (pm *ProtoManager) SetBlockChain(bc *blockchain.Blockchain)
Click to show internal directories.
Click to hide internal directories.