go-libp2p:Go中的libp2p实现-源码

上传者: 42119281 | 上传时间: 2021-02-02 16:35:40 | 文件大小: 160KB | 文件类型: ZIP
libp2p网络堆栈的Go实现。 目录 背景 是从模块化的网络堆栈和库,并分别捆绑在一起供其他工具使用。 libp2p是长期,艰巨的理解追求的产物-深入研究互联网的网络堆栈,以及过去丰富的对等协议。 在过去的15年中,构建大规模的对等系统非常复杂且困难,而libp2p是解决该问题的一种方法。 它是一个“网络堆栈”(一种协议套件),可以将问题完全分开,并使复杂的应用程序仅使用它们绝对需要的协议,而不会放弃互操作性和可升级性。 libp2p源自IPFS,但它的构建是为了使很多人可以将其用于许多不同的项目。 我们将编写一组文档,帖子,教程和讲座,以解释什么是p2p,为什么p2p非常有用,以及它如何帮助您的现有项目和新项目。 但与此同时,请查看 用法 该存储库( go-libp2p )充当构成libp2p堆栈的Go实现的模块世界的入口点。 Libp2p需要1.12+。 我们主要使用进行依赖和发布管理(因此需要go> = 1.12+)。 为了获得最佳的开发人员体验,我们建议您也这样做。 否则,您可能会偶尔遇到破坏性的构建,因为您将要运行master(根据定义,它不能保证稳定)。 您只

文件下载

资源详情

[{"title":"( 80 个子文件 160KB ) go-libp2p:Go中的libp2p实现-源码","children":[{"title":"go-libp2p-master","children":[{"title":"go.mod <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"codecov.yml <span style='color:#111;'> 43B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"ISSUE_TEMPLATE","children":[{"title":"bug-report.md <span style='color:#111;'> 585B </span>","children":null,"spread":false},{"title":"doc.md <span style='color:#111;'> 355B </span>","children":null,"spread":false},{"title":"feature.md <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"enhancement.md <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"question.md <span style='color:#111;'> 389B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"p2p","children":[{"title":"host","children":[{"title":"basic","children":[{"title":"natmgr.go <span style='color:#111;'> 6.29KB </span>","children":null,"spread":false},{"title":"basic_host_test.go <span style='color:#111;'> 22.08KB </span>","children":null,"spread":false},{"title":"basic_host.go <span style='color:#111;'> 28.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"relay","children":[{"title":"addrsplosion.go <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"log.go <span style='color:#111;'> 99B </span>","children":null,"spread":false},{"title":"relay.go <span style='color:#111;'> 880B </span>","children":null,"spread":false},{"title":"addrsplosion_test.go <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"doc.go <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"autorelay_test.go <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false},{"title":"autorelay.go <span style='color:#111;'> 8.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"routed","children":[{"title":"routed.go <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"protocol","children":[{"title":"identify","children":[{"title":"obsaddr_glass_test.go <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"peer_loop.go <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false},{"title":"peer_loop_test.go <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"id_push.go <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"id.go <span style='color:#111;'> 21.94KB </span>","children":null,"spread":false},{"title":"id_test.go <span style='color:#111;'> 30.85KB </span>","children":null,"spread":false},{"title":"opts.go <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"pb","children":[{"title":"identify.proto <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"identify.pb.go <span style='color:#111;'> 24.53KB </span>","children":null,"spread":false}],"spread":false},{"title":"id_delta.go <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"obsaddr.go <span style='color:#111;'> 13.43KB </span>","children":null,"spread":false},{"title":"obsaddr_test.go <span style='color:#111;'> 8.89KB </span>","children":null,"spread":false},{"title":"id_glass_test.go <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":false},{"title":"ping","children":[{"title":"ping.go <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"ping_test.go <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"net","children":[{"title":"conngater","children":[{"title":"conngater.go <span style='color:#111;'> 8.04KB </span>","children":null,"spread":false},{"title":"conngater_test.go <span style='color:#111;'> 9.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 810B </span>","children":null,"spread":false},{"title":"mock","children":[{"title":"mock_peernet.go <span style='color:#111;'> 9.07KB </span>","children":null,"spread":false},{"title":"mock_stream.go <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"complement.go <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":"mock_test.go <span style='color:#111;'> 14.15KB </span>","children":null,"spread":false},{"title":"mock.go <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"interface.go <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"mock_notif_test.go <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false},{"title":"mock_net.go <span style='color:#111;'> 8.56KB </span>","children":null,"spread":false},{"title":"mock_printer.go <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"mock_link.go <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"mock_conn.go <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"ratelimiter.go <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"test","children":[{"title":"backpressure","children":[{"title":"backpressure.go <span style='color:#111;'> 27B </span>","children":null,"spread":false},{"title":"backpressure_test.go <span style='color:#111;'> 9.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"reconnects","children":[{"title":"reconnect_test.go <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"reconnect.go <span style='color:#111;'> 86B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"discovery","children":[{"title":"mdns.go <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"mdns_test.go <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"go.sum <span style='color:#111;'> 62.93KB </span>","children":null,"spread":false},{"title":"NEWS.md <span style='color:#111;'> 13.57KB </span>","children":null,"spread":false},{"title":"libp2p_test.go <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"package-list.json <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"options.go <span style='color:#111;'> 13.75KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"README.md <span style='color:#111;'> 127B </span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"transport.go <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"reflection_magic_test.go <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"config_test.go <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"reflection_magic.go <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"muxer.go <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"constructor_types.go <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"security.go <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"config.go <span style='color:#111;'> 9.72KB </span>","children":null,"spread":false},{"title":"muxer_test.go <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"defaults.go <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 24.64KB </span>","children":null,"spread":false},{"title":"options_filter.go <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"error_util.go <span style='color:#111;'> 248B </span>","children":null,"spread":false},{"title":".codecov.yml <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"libp2p.go <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"options_test.go <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明