Files
portmaster/plugin/shared/proto/decider.proto
2023-09-22 12:06:43 +02:00

20 lines
397 B
Protocol Buffer

syntax = "proto3";
package safing.portmaster.plugin.proto;
option go_package = "./proto";
import "network.proto";
service DeciderService {
rpc DecideOnConnection(DecideOnConnectionRequest) returns (DecideOnConnectionResponse) {};
}
message DecideOnConnectionRequest {
Connection connection = 1;
}
message DecideOnConnectionResponse {
Verdict verdict = 1;
string reason = 2;
}