welsonjs/WelsonJS.Toolkit/WelsonJS.Service/Protos/heartbeat.proto
Namhyeon, Go 25aaff14f2 Revert "Remove the native components"
This reverts commit a763e63459.
2025-12-14 18:48:12 +09:00

28 lines
542 B
Protocol Buffer

syntax = "proto3";
option csharp_namespace = "WelsonJS.Service";
package heartbeat;
service HeartbeatService {
rpc CheckHeartbeat (stream HeartbeatRequest) returns (stream HeartbeatResponse);
rpc FetchPendingEvents (FetchEventsRequest) returns (stream FetchEventsResponse);
}
message HeartbeatRequest {
bool is_alive = 1;
}
message HeartbeatResponse {
bool is_alive = 1;
}
message FetchEventsRequest {
string client_id = 1;
}
message FetchEventsResponse {
string event_type = 1;
repeated string args = 2;
}