Use a unix timestamp rather than a timestamppb

This commit is contained in:
Marc Di Luzio 2020-07-09 19:29:04 +01:00
parent 55c85d2a22
commit b748846c55
4 changed files with 134 additions and 143 deletions

View file

@ -8,7 +8,6 @@ package rove;
option go_package = "github.com/mdiluz/rove/pkg/rove";
import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
service Rove {
// Server status
@ -122,8 +121,8 @@ message StatusRequest {
}
message Log {
// The timestamp of the log
google.protobuf.Timestamp time = 1;
// The unix timestamp of the log
int64 time = 1;
// The text of the log
string text = 2;