Use a unix timestamp rather than a timestamppb
This commit is contained in:
parent
55c85d2a22
commit
b748846c55
4 changed files with 134 additions and 143 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue