mysterium-vpn-js
Version:
Javascript SDK for Mysterium node
20 lines (19 loc) • 548 B
TypeScript
/**
* Copyright (c) 2020 BlockDev AG
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export interface NodeBuildInfo {
commit: string;
branch: string;
buildNumber: string;
}
export declare function parseNodeBuildInfo(data: any): NodeBuildInfo;
export interface NodeHealthcheck {
uptime: string;
process: number;
version: string;
buildInfo: NodeBuildInfo;
}
export declare function parseHealthcheckResponse(data: any): NodeHealthcheck;