Revert "bump protobuf packages"

This reverts commit 7a3509346a.
This commit is contained in:
mmmray 2024-08-22 05:12:56 -05:00
parent 7a3509346a
commit bb79707d15
76 changed files with 533 additions and 518 deletions

View file

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.2
// protoc-gen-go v1.34.1
// protoc v5.27.0
// source: core/config.proto
@ -347,7 +347,7 @@ func file_core_config_proto_rawDescGZIP() []byte {
}
var file_core_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_core_config_proto_goTypes = []any{
var file_core_config_proto_goTypes = []interface{}{
(*Config)(nil), // 0: xray.core.Config
(*InboundHandlerConfig)(nil), // 1: xray.core.InboundHandlerConfig
(*OutboundHandlerConfig)(nil), // 2: xray.core.OutboundHandlerConfig
@ -377,7 +377,7 @@ func file_core_config_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_core_config_proto_msgTypes[0].Exporter = func(v any, i int) any {
file_core_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Config); i {
case 0:
return &v.state
@ -389,7 +389,7 @@ func file_core_config_proto_init() {
return nil
}
}
file_core_config_proto_msgTypes[1].Exporter = func(v any, i int) any {
file_core_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InboundHandlerConfig); i {
case 0:
return &v.state
@ -401,7 +401,7 @@ func file_core_config_proto_init() {
return nil
}
}
file_core_config_proto_msgTypes[2].Exporter = func(v any, i int) any {
file_core_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OutboundHandlerConfig); i {
case 0:
return &v.state

View file

@ -1,5 +1,5 @@
package core
//go:generate go install -v google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2
//go:generate go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1
//go:generate go install -v google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.1
//go:generate go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
//go:generate go run ../infra/vprotogen/main.go -pwd ./..