onirii
Version:
Universal queue SDK
33 lines (32 loc) • 718 B
TypeScript
/**
* Rabbit Manager Health Namespace
*
* @since 1.0.0
* @date 2021-06-07
* @author Luminous(BGLuminous)
*/
export declare namespace RMHealth {
/**
* Manager Health Check Base Response
*/
interface HealthCheckBaseRs {
status: string;
reason?: string;
}
/**
* Port Health Check Response Model
*/
interface HealthCheckPortRs extends HealthCheckBaseRs {
missing: number;
ports?: number[] | number;
error?: string;
}
/**
* Protocol Health Check Response Model
*/
interface HealthCheckProtocolRs extends HealthCheckBaseRs {
protocol?: string;
protocols?: string[];
missing?: string;
}
}