netbird/management/proto/management.proto

29 lines
432 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
2021-07-20 18:09:26 +02:00
option go_package = "/proto";
package management;
service ManagementService {
rpc RegisterPeer(RegisterPeerRequest) returns (RegisterPeerResponse) {}
// health check endpoint
rpc isHealthy(Empty) returns (Empty) {}
}
message RegisterPeerRequest {
// Wireguard public key
string key = 1;
// Pre-authorized setup key
string setupKey = 2;
}
message RegisterPeerResponse {
}
message Empty {
}