mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-11-16 03:37:08 +00:00
Figure out node ip
This commit is contained in:
1 parent
538a30ccc3
commit
3259bc67a3
7 files changed
+53
-11
No files matched your search
+24
@@ -0,0 +1,24 @@
|
||||
declare module 'iplocation' {
|
||||
namespace iplocation {
|
||||
export interface LocationData {
|
||||
as?: string;
|
||||
city?: string;
|
||||
country?: string;
|
||||
countryCode?: string;
|
||||
isp?: string;
|
||||
lat: number;
|
||||
lon: number;
|
||||
org?: string;
|
||||
query?: string;
|
||||
region?: string;
|
||||
regionName?: string;
|
||||
status: string;
|
||||
timezone?: string;
|
||||
zip?: string;
|
||||
}
|
||||
}
|
||||
|
||||
function iplocation(ip: string, callback: (err: Error, result: iplocation.LocationData) => void): void;
|
||||
|
||||
export = iplocation;
|
||||
}
|
||||
Reference in new issue
Block a user