Use metadata map and call it protocols

This commit is contained in:
Marco Munizaga
2023-07-17 14:56:35 -07:00
parent c7c9c432d4
commit 454e25c6c2

View File

@@ -58,9 +58,9 @@ libp2p does not squat the global namespace. libp2p application protocols can be
```json
{
"services": {
"/kad/1.0.0": "/kademlia/",
"/ipfs-http/1.0.0": "/",
"protocols": {
"/kad/1.0.0": {"path": "/kademlia/"},
"/ipfs-http/1.0.0": {"path": "/"},
}
}
```