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 commit 7a3509346a.

* Revert "Revert "bump protobuf packages""

This reverts commit bb79707d15.

* fix deprecated grpc usage
This commit is contained in:
mmmray 2024-08-22 16:18:36 +02:00 committed by GitHub
parent 790f908f0b
commit 2be03c56cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
77 changed files with 544 additions and 559 deletions

View file

@ -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: transport/internet/config.proto
@ -863,7 +863,7 @@ func file_transport_internet_config_proto_rawDescGZIP() []byte {
var file_transport_internet_config_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_transport_internet_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_transport_internet_config_proto_goTypes = []interface{}{
var file_transport_internet_config_proto_goTypes = []any{
(TransportProtocol)(0), // 0: xray.transport.internet.TransportProtocol
(DomainStrategy)(0), // 1: xray.transport.internet.DomainStrategy
(SocketConfig_TProxyMode)(0), // 2: xray.transport.internet.SocketConfig.TProxyMode
@ -897,7 +897,7 @@ func file_transport_internet_config_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_transport_internet_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_transport_internet_config_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*TransportConfig); i {
case 0:
return &v.state
@ -909,7 +909,7 @@ func file_transport_internet_config_proto_init() {
return nil
}
}
file_transport_internet_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_transport_internet_config_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*StreamConfig); i {
case 0:
return &v.state
@ -921,7 +921,7 @@ func file_transport_internet_config_proto_init() {
return nil
}
}
file_transport_internet_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_transport_internet_config_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ProxyConfig); i {
case 0:
return &v.state
@ -933,7 +933,7 @@ func file_transport_internet_config_proto_init() {
return nil
}
}
file_transport_internet_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_transport_internet_config_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*CustomSockopt); i {
case 0:
return &v.state
@ -945,7 +945,7 @@ func file_transport_internet_config_proto_init() {
return nil
}
}
file_transport_internet_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_transport_internet_config_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*SocketConfig); i {
case 0:
return &v.state