mirror of
https://github.com/netbirdio/netbird.git
synced 2025-03-13 14:18:47 +01:00
27 lines
533 B
Protocol Buffer
27 lines
533 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
option go_package = "/proto";
|
||
|
|
||
|
package management;
|
||
|
|
||
|
service FlowService {
|
||
|
// Client to receiver streams of events and acknowledgements
|
||
|
rpc Events(stream FlowEventRequest) returns (stream FlowEventResponse) {}
|
||
|
}
|
||
|
|
||
|
message FlowEventRequest {
|
||
|
// Unique client event identifier
|
||
|
string event_id = 1;
|
||
|
|
||
|
// Unique client flow session identifier
|
||
|
string flow_id = 2;
|
||
|
|
||
|
// @todo define event props
|
||
|
}
|
||
|
|
||
|
message FlowEventResponse {
|
||
|
// Unique client event identifier that has been ack'ed
|
||
|
string event_id = 1;
|
||
|
}
|
||
|
|