Adds a health checking endpoint on the GRPC server. This is a stream that changes whenever a health status update occurs. Reviewed-on: https://git.nikos.gg/prymn/prymn/pulls/5 Co-authored-by: Nikos Papadakis <nikos@papadakis.xyz> Co-committed-by: Nikos Papadakis <nikos@papadakis.xyz>
6 lines
150 B
Rust
6 lines
150 B
Rust
fn main() {
|
|
tonic_build::configure()
|
|
.build_client(false)
|
|
.compile(&["../proto/agent.proto"], &["../proto"])
|
|
.unwrap();
|
|
}
|