Commit from GitHub Actions ()
This commit is contained in:
parent
7fc00dcbb0
commit
0216989438
|
@ -1,4 +1,4 @@
|
|||
use std::{net::SocketAddr, thread};
|
||||
use std::net::SocketAddr;
|
||||
mod grpc;
|
||||
|
||||
mod config;
|
||||
|
@ -17,7 +17,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
let url: SocketAddr = "[::1]:50051".parse()?;
|
||||
// let mut data_client = sched::data_client::DataClient::connect(url.clone()).await?;
|
||||
// let mut auth_client = sched::auth_client::AuthClient::connect(url.clone()).await?;
|
||||
alive_check_serve(url.clone()).await?;
|
||||
alive_check_serve(url).await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use crate::sched::{
|
||||
alive_check_client::{self, AliveCheckClient},
|
||||
alive_check_client::{AliveCheckClient},
|
||||
alive_check_server, auth_server, data_server, AliveCheckRequest, AliveCheckResponse,
|
||||
DataRequest, DataResponse, LoginRequest, LoginResponse,
|
||||
};
|
||||
|
|
|
@ -7,7 +7,7 @@ use log::{debug, info};
|
|||
use tonic::transport::Server;
|
||||
// Import generated protobuf
|
||||
mod sched {
|
||||
use prost_types::FileDescriptorSet;
|
||||
|
||||
|
||||
tonic::include_proto!("sched");
|
||||
|
||||
|
|
Loading…
Reference in a new issue