feature: provide InterfaceMultiaddrsFor#275
feature: provide InterfaceMultiaddrsFor#275tobil4sk wants to merge 1 commit intomultiformats:masterfrom
Conversation
net.InterfaceAddrs calls fail on android. This function allows specifying your own set of addresses, so another api can be used to avoid the issue.
|
Is the idea that you'll override these functions with go:linkname? |
|
The way I'm using it is to always use I'm quite new to go so I'm not familiar with go:linkname. This is how I've patch a library that relies on go-multiaddr in line with this change: libp2p/go-libp2p#3236 |
|
Can you show me how you'll use this change? I'm having a hard time understanding how exposing |
Instead of relying on Additionally, when using |
net.InterfaceAddrs calls fail on android. This function allows specifying your own set of addresses, so another api can be used to avoid the issue.
See: #255 (comment)
Closes #255