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:
Hector Sanjuan 2018-11-28 16:17:16 +01:00
parent 0bd5f16380
commit 3504e962a0

View File

@ -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