mirror of
https://github.com/waku-org/go-multiaddr.git
synced 2025-02-23 19:48:18 +00:00
Mention that we do not support unix* return values in DialArgs.
License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
parent
0bd5f16380
commit
3504e962a0
@ -96,7 +96,7 @@ func FromIP(ip net.IP) (ma.Multiaddr, error) {
|
||||
|
||||
// DialArgs is a convenience function that returns network and address as
|
||||
// expected by net.Dial. See https://godoc.org/net#Dial for an overview of
|
||||
// possible return values.
|
||||
// possible return values (we do not support the unix* ones yet).
|
||||
func DialArgs(m ma.Multiaddr) (string, string, error) {
|
||||
var (
|
||||
zone, network, ip, port string
|
||||
|
Loading…
x
Reference in New Issue
Block a user