mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
alemi
1cf17dc151
reuse as much as possible, keep rpc messages close with their rpc, helper struct for uuid with into() and from(). also replaced the simple things, such as imports and struct fields
18 lines
281 B
Protocol Buffer
18 lines
281 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package common;
|
|
|
|
|
|
// a wrapper payload representing an uuid
|
|
message Identity {
|
|
// uuid bytes, as string
|
|
required string id = 1;
|
|
}
|
|
|
|
// a collection of identities
|
|
message IdentityList {
|
|
repeated Identity users = 1;
|
|
}
|
|
|
|
//generic Empty message
|
|
message Empty { }
|