mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-07 23:43:10 +00:00
Update docstring of DialArgs
This commit is contained in:
parent
f03b69ca9b
commit
a86fb2b318
@ -99,7 +99,8 @@ 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 (we do not support the unix* ones yet).
|
// possible return values (we do not support the unixpacket ones yet). Unix
|
||||||
|
// addresses do not, at present, compose.
|
||||||
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