mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-13 20:09:36 +03:00
Pin protobuf packages (#3715)
* Pin protobuf packages It happened in the past that I ran with the wrong protobuf version installed locally, and apparently there is even still some file wrong in splithttp. Fix this issue once and for all. * bump protobuf packages * Revert "bump protobuf packages" This reverts commit7a3509346a
. * Revert "Revert "bump protobuf packages"" This reverts commitbb79707d15
. * fix deprecated grpc usage
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v5.27.0
|
||||
// source: proxy/http/config.proto
|
||||
|
||||
@ -322,7 +322,7 @@ func file_proxy_http_config_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_proxy_http_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_proxy_http_config_proto_goTypes = []interface{}{
|
||||
var file_proxy_http_config_proto_goTypes = []any{
|
||||
(*Account)(nil), // 0: xray.proxy.http.Account
|
||||
(*ServerConfig)(nil), // 1: xray.proxy.http.ServerConfig
|
||||
(*Header)(nil), // 2: xray.proxy.http.Header
|
||||
@ -347,7 +347,7 @@ func file_proxy_http_config_proto_init() {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_proxy_http_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_proxy_http_config_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Account); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -359,7 +359,7 @@ func file_proxy_http_config_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_proxy_http_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_proxy_http_config_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -371,7 +371,7 @@ func file_proxy_http_config_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_proxy_http_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_proxy_http_config_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Header); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -383,7 +383,7 @@ func file_proxy_http_config_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_proxy_http_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_proxy_http_config_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ClientConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
Reference in New Issue
Block a user