Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions wireguard/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,18 @@ message CoreRequest {
}
}

/*
* Bi-directional communication between Core and Gateway.
* For security reasons, the connection has to be initiated by Core,
* so requests and responses are actually send in reverse.
*/
service Gateway {
/*
* Bi-directional communication between Core and Gateway.
* For security reasons, the connection has to be initiated by Core,
* so requests and responses are actually send in reverse.
*/
rpc Bidi(stream CoreResponse) returns (stream CoreRequest);
/*
* Purges existing on-disk gRPC TLS credentials and signals the server to re-enter setup mode
* so that core can provision new ones.
*/
rpc Purge(google.protobuf.Empty) returns (google.protobuf.Empty);
}

message DerPayload {
Expand Down