15 lines
229 B
Plaintext
15 lines
229 B
Plaintext
// Health Schema
|
|
namespace test::idl::health
|
|
|
|
struct Capabilities {
|
|
names: str[]
|
|
}
|
|
|
|
/// Health check an address
|
|
@provider=Any
|
|
protocol HealthCheck {
|
|
function alive() -> bool
|
|
function capabilities() -> Capabilities
|
|
}
|
|
|