aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/simple.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-09-13 13:35:25 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-09-13 13:35:25 +0300
commit73142ba082e56b8c5ba75c055a20c200b623da83 (patch)
treeb8d2595cc70ac415bec3cc42eb561ce487696707 /examples/simple/simple.proto
parentf47410ea4b8ae43e19facd378be4cf1073e1813b (diff)
Add a new very simple example
Diffstat (limited to 'examples/simple/simple.proto')
-rw-r--r--examples/simple/simple.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/simple/simple.proto b/examples/simple/simple.proto
new file mode 100644
index 00000000..26e72f46
--- /dev/null
+++ b/examples/simple/simple.proto
@@ -0,0 +1,7 @@
+// A very simple protocol definition, consisting of only
+// one message.
+
+message SimpleMessage {
+ required int32 lucky_number = 1;
+}
+