mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-10 08:53:08 +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
|
// 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
|
// 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) {
|
func DialArgs(m ma.Multiaddr) (string, string, error) {
|
||||||
var (
|
var (
|
||||||
zone, network, ip, port string
|
zone, network, ip, port string
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user