feat: added timestamp
This commit is contained in:
parent
ba8940c3c4
commit
762aae7309
@ -1,4 +1,5 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "git.dragse.it/anthrove/plug-[REPLACE_ME]/api/gRPC";
|
option go_package = "git.dragse.it/anthrove/plug-[REPLACE_ME]/api/gRPC";
|
||||||
|
|
||||||
@ -11,10 +12,12 @@ service PlugConnector {
|
|||||||
|
|
||||||
message PingRequest {
|
message PingRequest {
|
||||||
string message = 1; // Optional message field, can be removed if not needed
|
string message = 1; // Optional message field, can be removed if not needed
|
||||||
|
google.protobuf.Timestamp timestamp = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PongResponse {
|
message PongResponse {
|
||||||
string message = 1; // Optional message field, can be removed if not needed
|
string message = 1; // Optional message field, can be removed if not needed
|
||||||
|
google.protobuf.Timestamp timestamp = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlugTaskStatus {
|
message PlugTaskStatus {
|
||||||
|
Reference in New Issue
Block a user