summaryrefslogtreecommitdiffhomepage
path: root/talpid-openvpn-plugin/proto/openvpn_plugin.proto
blob: c0539b8407ec9cb42c6953485869ad0af2071d27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
syntax = "proto3";

package talpid_openvpn_plugin;

import "google/protobuf/empty.proto";

service OpenvpnEventProxy {
  rpc AuthFailed(EventDetails) returns (google.protobuf.Empty) {}
  rpc Up(EventDetails) returns (google.protobuf.Empty) {}
  rpc RouteUp(EventDetails) returns (google.protobuf.Empty) {}
  rpc RoutePredown(EventDetails) returns (google.protobuf.Empty) {}
}

message EventDetails { map<string, string> env = 1; }