You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wg-access-server/proto/server.proto

23 lines
340 B
Protocol Buffer

syntax = "proto3";
package proto;
import "google/protobuf/wrappers.proto";
service Server {
rpc Info(InfoReq) returns (InfoRes) {}
}
message InfoReq {
}
message InfoRes {
string public_key = 1;
google.protobuf.StringValue host = 2;
int32 port = 3;
string host_vpn_ip = 4;
bool metadata_enabled = 5;
bool is_admin = 6;
}