UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

9 lines (8 loc) 398 B
import { Node } from '../../core/public-api'; /** * 从 underlord 节点 utils 中抽离出来,作为通用的内部IP、内部IPv6、hostname 获取方式 */ export declare function getPrivateIPv4(node: Node): string; export declare function getPrivateIPv6(node: Node): string; export declare function getPrivateIP(node: Node): string; export declare function getHostname(node: Node): string;