Clear private keys
This commit is contained in:
parent
4a5c60c66d
commit
0763310b16
5 changed files with 68 additions and 409 deletions
|
@ -16,8 +16,6 @@ service Wireguard {
|
|||
rpc List(google.protobuf.Empty) returns (ListResponse);
|
||||
// NewPeer to the tunnel with gernerated keys
|
||||
rpc NewPeer(NewPeerRequest) returns (PeerResponse);
|
||||
// AddPeer to the tunnel
|
||||
rpc AddPeer(AddPeerRequest) returns (TunnelResponse);
|
||||
// DeletePeer from a tunnel
|
||||
rpc DeletePeer(DeletePeerRequest) returns (TunnelResponse);
|
||||
}
|
||||
|
@ -45,12 +43,6 @@ message NewPeerRequest {
|
|||
string address = 3;
|
||||
}
|
||||
|
||||
message AddPeerRequest {
|
||||
// id of the tunnel
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
Peer peer = 2;
|
||||
}
|
||||
|
||||
message DeletePeerRequest {
|
||||
// id of the tunnel
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue