空框架占位
This commit is contained in:
1
proto/xcmd/makeproto.sh
Executable file
1
proto/xcmd/makeproto.sh
Executable file
@@ -0,0 +1 @@
|
||||
protoc --proto_path=. *.proto --go_out=. --go-grpc_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative
|
||||
61
proto/xcmd/upload.pb.go
Normal file
61
proto/xcmd/upload.pb.go
Normal file
@@ -0,0 +1,61 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.5
|
||||
// protoc v4.24.4
|
||||
// source: upload.proto
|
||||
|
||||
package xcmd
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
var File_upload_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_upload_proto_rawDesc = string([]byte{
|
||||
0x0a, 0x0c, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04,
|
||||
0x78, 0x63, 0x6d, 0x64, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x2f, 0x78, 0x63, 0x6d, 0x64, 0x62, 0x06,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var file_upload_proto_goTypes = []any{}
|
||||
var file_upload_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for method output_type
|
||||
0, // [0:0] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_upload_proto_init() }
|
||||
func file_upload_proto_init() {
|
||||
if File_upload_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_upload_proto_rawDesc), len(file_upload_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_upload_proto_goTypes,
|
||||
DependencyIndexes: file_upload_proto_depIdxs,
|
||||
}.Build()
|
||||
File_upload_proto = out.File
|
||||
file_upload_proto_goTypes = nil
|
||||
file_upload_proto_depIdxs = nil
|
||||
}
|
||||
7
proto/xcmd/upload.proto
Normal file
7
proto/xcmd/upload.proto
Normal file
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package xcmd;
|
||||
|
||||
option go_package = "./xcmd";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user