summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index e7a11a9..ce3bdfc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,10 @@
-fn main() {
- println!("Hello, world!");
+//mod proto {
+// tonic::include_proto!("auth");
+//}
+
+#[tokio::main]
+async fn main() {
+ let channel = tonic::transport::Channel::from_static("http://127.0.0.1:50051").connect().await.unwrap();
+
}
+