在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ipfs-inactive/go-ipfs-addr开源软件地址:https://github.com/ipfs-inactive/go-ipfs-addr开源编程语言:Go 96.8%开源软件介绍:go-ipfs-addrDEPRECATEDThis package was introduced at a time when multiaddr didn't support "ipfs" (or libp2p) addresses. Please use
Table of ContentsInstallmake install Examplesimport "github.com/ipfs/go-ipfs-addr"
addrstr := "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
a, _ := ipfsaddr.ParseString(addr)
fmt.Println("peer id: ", a.ID())
fmt.Println("transport multiaddr: ", a.Transport()) ContributePRs are welcome! Small note: If editing the Readme, please conform to the standard-readme specification. LicenseMIT © Whyrusleeping |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论