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