summaryrefslogtreecommitdiffhomepage
path: root/tunnel/src/main/proto/libwg.proto
blob: 2d964897f06b720eb7e7416de65492478f3ef8ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
syntax = "proto3";

option java_multiple_files = true;
option java_package = 'com.wireguard.android.backend.gen';
option java_outer_classname = "LibwgProto";
option java_generic_services = true;
option go_package = 'golang.zx2c4.com/wireguard/android/gen';

package api;

service Libwg {
	rpc StopGrpc(StopGrpcRequest) returns (StopGrpcResponse);
	rpc Version(VersionRequest) returns (VersionResponse);
}

message StopGrpcRequest {
}

message StopGrpcResponse {
}

message VersionRequest {
}

message VersionResponse {
	string version = 1;
}