Versions in this module Expand all Collapse all v1 v1.2.0-pre Jun 6, 2024 v1.1.5 Aug 23, 2024 Changes in this version + type Command struct + Body []byte + Id uint32 + type Factory struct + func New(i vm.Instance, p2pNode p2pIface.Service, helper helpers.Methods) *Factory + func (f *Factory) Close() error + func (f *Factory) Load(hm vm.HostModule) (err error) + func (f *Factory) Name() string + func (f *Factory) W_discoverPeers(ctx context.Context, module common.Module, id, peersBuf uint32) errno.Error + func (f *Factory) W_discoverPeersSize(ctx context.Context, module common.Module, max uint32, nsTimeout uint32, ...) errno.Error + func (f *Factory) W_listenToProtocol(ctx context.Context, module common.Module, ...) (err errno.Error) + func (f *Factory) W_listenToProtocolSize(ctx context.Context, module common.Module, ...) (err errno.Error) + func (f *Factory) W_newCommand(ctx context.Context, module common.Module, ...) (err errno.Error) + func (f *Factory) W_readCommandResponse(ctx context.Context, module common.Module, commandId, dataBuf, dataSize uint32) (err errno.Error) + func (f *Factory) W_sendCommand(ctx context.Context, module common.Module, ...) (err0 errno.Error) + func (f *Factory) W_sendCommandTo(ctx context.Context, module common.Module, ...) (err0 errno.Error)