Compare commits
No commits in common. "f65839620ceccdbf5fe2bbc0769a8d5fecab348c" and "5c6b67694d0876068fc6ff55f643e09b8c72e41a" have entirely different histories.
f65839620c
...
5c6b67694d
14
plug.proto
14
plug.proto
@ -1,5 +1,4 @@
|
||||
syntax = "proto3";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "git.dragse.it/anthrove/plug-[REPLACE_ME]/api/gRPC";
|
||||
|
||||
@ -7,17 +6,6 @@ service PlugConnector {
|
||||
rpc TaskStart(PlugTaskCreation) returns (PlugTaskStatus);
|
||||
rpc TaskStatus(PlugTask) returns (PlugTaskStatus);
|
||||
rpc TaskCancel(PlugTask) returns (PlugTaskStatus);
|
||||
rpc Ping(PingRequest) returns (PongResponse); // Added Ping endpoint
|
||||
}
|
||||
|
||||
message PingRequest {
|
||||
string message = 1; // Optional message field, can be removed if not needed
|
||||
google.protobuf.Timestamp timestamp = 2;
|
||||
}
|
||||
|
||||
message PongResponse {
|
||||
string message = 1; // Optional message field, can be removed if not needed
|
||||
google.protobuf.Timestamp timestamp = 2;
|
||||
}
|
||||
|
||||
message PlugTaskStatus {
|
||||
@ -40,4 +28,4 @@ message PlugTaskCreation {
|
||||
string user_id = 1;
|
||||
string user_source_name = 2;
|
||||
bool deep_scrape = 3;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user