summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-18 15:31:26 -0600
committermo khan <mo@mokhan.ca>2025-06-18 15:31:26 -0600
commitd78086a5e376fc0d9ee64a1dd8e4113d66dcafd3 (patch)
tree40d749119aee2106e56173ceeddd63fffc6c574b /proto
parentb7d47b2a6c00925f6ae9640700fcda0d888b0486 (diff)
feat: create an grpc server
Diffstat (limited to 'proto')
-rw-r--r--proto/helloworld.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/proto/helloworld.proto b/proto/helloworld.proto
new file mode 100644
index 0000000..949b755
--- /dev/null
+++ b/proto/helloworld.proto
@@ -0,0 +1,14 @@
+syntax = "proto3";
+package helloworld;
+
+service Greeter {
+ rpc SayHello (HelloRequest) returns (HelloReply);
+}
+
+message HelloRequest {
+ string name = 1;
+}
+
+message HelloReply {
+ string message = 1;
+}