We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be pretty cool to have a Format method on multiaddrs that allows the caller to express how they want to print the multiaddr. For example:
maddr := Multiaddr("/ip4/127.0.0.1/tcp/5001") maddr.Format("${IP}:${TCP}")
would print 127.0.0.1:5001
127.0.0.1:5001
The text was updated successfully, but these errors were encountered:
Merge pull request #22 from RichardLitt/master
97164e6
Update README URLs based on HTTP redirects
Merge pull request multiformats#22 from libp2p/feat/consolidate-abstr…
ca6f70c
…actions Consolidate abstractions and core types into go-libp2p-core (multiformats#28)
No branches or pull requests
It would be pretty cool to have a Format method on multiaddrs that allows the caller to express how they want to print the multiaddr. For example:
would print
127.0.0.1:5001
The text was updated successfully, but these errors were encountered: