@spot-meetings/utils
Version:
Spot's utility functions.
10 lines (9 loc) • 381 B
TypeScript
export declare enum IpType {
Public = "public",
Local = "local"
}
export declare const validateIpV4: (ip: string) => boolean;
export declare const getContainerIp: () => string;
export declare const getAwsIp: (type?: IpType) => Promise<string>;
export declare const getPublicIp: () => Promise<string>;
export declare const getInstanceIp: (type?: IpType) => Promise<string>;