feat(account): add grpc to communicate with account server
This commit is contained in:
parent
6984a20bdd
commit
cb6a6f9028
15 changed files with 797 additions and 30 deletions
8
src/grpc/mod.rs
Normal file
8
src/grpc/mod.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use std::env;
|
||||
use std::net::Ipv4Addr;
|
||||
use once_cell::sync::Lazy;
|
||||
use tonic::{Request, Status};
|
||||
|
||||
type InterceptorFunc = Box<(dyn Fn(Request<()>) -> Result<Request<()>, Status> + Send)>;
|
||||
mod protobufs;
|
||||
pub mod account;
|
||||
Loading…
Add table
Add a link
Reference in a new issue