Packages

An implementation of Google's Protocol Buffers for Erlang, based on ngerakines/erlang_protobuffs.

Current section

Files

Jump to
protobuffs test erlang_protobuffs_SUITE_data proto simple.proto
Raw

test/erlang_protobuffs_SUITE_data/proto/simple.proto

package simple;
message Person {
required string name = 1;
required string address = 2;
required string phone_number = 3;
required int32 age = 4;
optional Location location = 5;
}
message Location
{
required string region = 1;
required string country = 2;
}