Add generaton cli entrypoint

This commit is contained in:
Luke Murphy
2020-08-09 02:52:58 +02:00
parent 82c398e13b
commit 249c4d4634
4 changed files with 41 additions and 0 deletions

4
example/client.py Normal file
View File

@ -0,0 +1,4 @@
"""Echo client."""
if __name__ == "__main__":
pass

9
example/schema.proto Normal file
View File

@ -0,0 +1,9 @@
syntax = "proto2";
message EchoMsg {
required string value = 1;
}
service Example {
rpc Echo (EchoMsg) returns (EchoMsg) {}
}

4
example/server.py Normal file
View File

@ -0,0 +1,4 @@
"""Echo server."""
if __name__ == "__main__":
pass