Selaa lähdekoodia

feat: x vpn config

BaiLuoYan 3 kuukautta sitten
vanhempi
commit
3be8a850b2
3 muutettua tiedostoa jossa 16 lisäystä ja 2 poistoa
  1. 4 0
      pb/gorpc.proto
  2. 11 2
      pb/pb/gorpc.pb.go
  3. 1 0
      pb/vpn.proto

+ 4 - 0
pb/gorpc.proto

@@ -2322,6 +2322,7 @@ message VpnServerVo {
   string version = 14;
   string otherInfo = 15;
   int64 monitorPort = 16;
+  string vpnConfig = 17;
 }
 
 message VpnServerExVo {
@@ -2909,3 +2910,6 @@ service GoVpnClient {
   rpc VpnConfigTemplatePlanDetailList(VpnConfigTemplatePlanDetailListReq)
       returns (VpnConfigTemplatePlanDetailListResp);
 }
+
+
+// test go mod tidy

+ 11 - 2
pb/pb/gorpc.pb.go

@@ -17483,6 +17483,7 @@ type VpnServerVo struct {
 	Version           string                 `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"`
 	OtherInfo         string                 `protobuf:"bytes,15,opt,name=otherInfo,proto3" json:"otherInfo,omitempty"`
 	MonitorPort       int64                  `protobuf:"varint,16,opt,name=monitorPort,proto3" json:"monitorPort,omitempty"`
+	VpnConfig         string                 `protobuf:"bytes,17,opt,name=vpnConfig,proto3" json:"vpnConfig,omitempty"`
 	unknownFields     protoimpl.UnknownFields
 	sizeCache         protoimpl.SizeCache
 }
@@ -17629,6 +17630,13 @@ func (x *VpnServerVo) GetMonitorPort() int64 {
 	return 0
 }
 
+func (x *VpnServerVo) GetVpnConfig() string {
+	if x != nil {
+		return x.VpnConfig
+	}
+	return ""
+}
+
 type VpnServerExVo struct {
 	state         protoimpl.MessageState `protogen:"open.v1"`
 	Vo            *VpnServerVo           `protobuf:"bytes,1,opt,name=vo,proto3" json:"vo,omitempty"`
@@ -25475,7 +25483,7 @@ const file_gorpc_proto_rawDesc = "" +
 	"\x1aVpnLocationBatchUpdateResp\x12*\n" +
 	"\x04list\x18\x01 \x03(\v2\x16.gorpc.VpnLocationExVoR\x04list\"*\n" +
 	"\x16VpnLocationBatchDelReq\x12\x10\n" +
-	"\x03ids\x18\x01 \x03(\x03R\x03ids\"\xd6\x03\n" +
+	"\x03ids\x18\x01 \x03(\x03R\x03ids\"\xf4\x03\n" +
 	"\vVpnServerVo\x12\x0e\n" +
 	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1e\n" +
 	"\n" +
@@ -25501,7 +25509,8 @@ const file_gorpc_proto_rawDesc = "" +
 	"updateTime\x12\x18\n" +
 	"\aversion\x18\x0e \x01(\tR\aversion\x12\x1c\n" +
 	"\totherInfo\x18\x0f \x01(\tR\totherInfo\x12 \n" +
-	"\vmonitorPort\x18\x10 \x01(\x03R\vmonitorPort\"U\n" +
+	"\vmonitorPort\x18\x10 \x01(\x03R\vmonitorPort\x12\x1c\n" +
+	"\tvpnConfig\x18\x11 \x01(\tR\tvpnConfig\"U\n" +
 	"\rVpnServerExVo\x12\"\n" +
 	"\x02vo\x18\x01 \x01(\v2\x12.gorpc.VpnServerVoR\x02vo\x12 \n" +
 	"\vlocationIds\x18\x02 \x03(\x03R\vlocationIds\"\xdf\x01\n" +

+ 1 - 0
pb/vpn.proto

@@ -171,6 +171,7 @@ message VpnServerVo {
   string version = 14;
   string otherInfo = 15;
   int64 monitorPort = 16;
+  string vpnConfig = 17;
 }
 
 message VpnServerExVo {