diff options
| author | Carlos Sosa <gnusosa@gnusosa.net> | 2020-06-22 12:27:40 -0700 |
|---|---|---|
| committer | Carlos Sosa <gnusosa@gnusosa.net> | 2020-06-22 12:27:40 -0700 |
| commit | bf09eb82fedfaf3cfa4fcc4b0e978b3feb71701b (patch) | |
| tree | 28b24aef6c194057aa1186fcb686aebf9d911f6d /api | |
| parent | c1d28a718a536c1127c1a772b8598436d9eab105 (diff) | |
Added db package and Item struct
Diffstat (limited to 'api')
| -rw-r--r-- | api/api.proto | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/api/api.proto b/api/api.proto index 2c6c20d..796e34b 100644 --- a/api/api.proto +++ b/api/api.proto @@ -7,6 +7,14 @@ message PingMessage { string greeting = 1; } +message Item { + int32 id = 1 + string field = 2; + string field2 = 3; + google.protobuf.Timestamp created = 5; + google.protobuf.Timestamp last_updated = 5; +} + service Ping { rpc SayHello(PingMessage) returns (PingMessage) { option (google.api.http) = { @@ -14,4 +22,4 @@ service Ping { body: "*" }; } -}
\ No newline at end of file +} |
