2023-08-28 14:09:31 -05:00
|
|
|
// Health Schema
|
|
|
|
namespace test::idl::health
|
|
|
|
|
|
|
|
struct Capabilities {
|
2023-08-31 22:14:35 -05:00
|
|
|
names: str
|
2023-08-28 14:09:31 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/// Health check an address
|
|
|
|
@provider=Any
|
|
|
|
protocol HealthCheck {
|
2023-08-31 22:14:35 -05:00
|
|
|
function alive() -> bool;
|
|
|
|
function capabilities() -> Capabilities;
|
2023-08-28 14:09:31 -05:00
|
|
|
}
|
|
|
|
|