fusen-internal-common 0.8.11

RPC framework for service registration and discovery through API exposure, compatible with Dubbo3 protocol, intertunable with Java projects
Documentation
1
2
3
4
5
use local_ip_address::Error;

pub fn get_network_ip() -> Result<String, Error> {
    local_ip_address::local_ip().map(|e| e.to_string())
}