mirror of
https://github.com/go-kratos/kratos.git
synced 2025-02-03 13:11:42 +02:00
judge if interface is up
This commit is contained in:
parent
7e370e4384
commit
6d3de81a58
@ -66,6 +66,7 @@ func InternalIP() string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// isUp Interface is up
|
// isUp Interface is up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user