refactor: centralize protobuf and remove go-zero
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.8
|
||||
// protoc (unknown)
|
||||
// source: match.proto
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.35.0
|
||||
// source: module/social/relation/proto/match.proto
|
||||
|
||||
package relation
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -20,34 +21,33 @@ const (
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
var File_match_proto protoreflect.FileDescriptor
|
||||
var File_module_social_relation_proto_match_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_match_proto_rawDesc = "" +
|
||||
const file_module_social_relation_proto_match_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1bsocial/relation/match.proto\x12\brelation\x1a\x15relation/blocks.proto2\xfd\x01\n" +
|
||||
"\x05Match\x12C\n" +
|
||||
"\x05Fetch\x12\x16.relation.FetchRequest\x1a .relation.FetchRelationItemReply\"\x00\x127\n" +
|
||||
"\x03Get\x12\x16.relation.IdentRequest\x1a\x16.relation.RelationItem\"\x00\x129\n" +
|
||||
"\x06DoJoin\x12\x16.relation.IdentRequest\x1a\x15.relation.StatusReply\"\x00\x12;\n" +
|
||||
"\bDoIgnore\x12\x16.relation.IdentRequest\x1a\x15.relation.StatusReply\"\x00B\fZ\n" +
|
||||
".;relationb\x06proto3"
|
||||
"(module/social/relation/proto/match.proto\x12\brelation\x1a\x15protobuf/blocks.proto2\xf5\x01\n" +
|
||||
"\x05Match\x12?\n" +
|
||||
"\x05Fetch\x12\x14.blocks.FetchRequest\x1a\x1e.blocks.FetchRelationItemReply\"\x00\x123\n" +
|
||||
"\x03Get\x12\x14.blocks.IdentRequest\x1a\x14.blocks.RelationItem\"\x00\x129\n" +
|
||||
"\x06DoJoin\x12\x14.blocks.IdentRequest\x1a\x17.blocks.DataStatusReply\"\x00\x12;\n" +
|
||||
"\bDoIgnore\x12\x14.blocks.IdentRequest\x1a\x17.blocks.DataStatusReply\"\x00B-Z+bsm/full/module/social/relation/pb;relationb\x06proto3"
|
||||
|
||||
var file_match_proto_goTypes = []any{
|
||||
(*FetchRequest)(nil), // 0: relation.FetchRequest
|
||||
(*IdentRequest)(nil), // 1: relation.IdentRequest
|
||||
(*FetchRelationItemReply)(nil), // 2: relation.FetchRelationItemReply
|
||||
(*RelationItem)(nil), // 3: relation.RelationItem
|
||||
(*StatusReply)(nil), // 4: relation.StatusReply
|
||||
var file_module_social_relation_proto_match_proto_goTypes = []any{
|
||||
(*protobuf.FetchRequest)(nil), // 0: blocks.FetchRequest
|
||||
(*protobuf.IdentRequest)(nil), // 1: blocks.IdentRequest
|
||||
(*protobuf.FetchRelationItemReply)(nil), // 2: blocks.FetchRelationItemReply
|
||||
(*protobuf.RelationItem)(nil), // 3: blocks.RelationItem
|
||||
(*protobuf.DataStatusReply)(nil), // 4: blocks.DataStatusReply
|
||||
}
|
||||
var file_match_proto_depIdxs = []int32{
|
||||
0, // 0: relation.Match.Fetch:input_type -> relation.FetchRequest
|
||||
1, // 1: relation.Match.Get:input_type -> relation.IdentRequest
|
||||
1, // 2: relation.Match.DoJoin:input_type -> relation.IdentRequest
|
||||
1, // 3: relation.Match.DoIgnore:input_type -> relation.IdentRequest
|
||||
2, // 4: relation.Match.Fetch:output_type -> relation.FetchRelationItemReply
|
||||
3, // 5: relation.Match.Get:output_type -> relation.RelationItem
|
||||
4, // 6: relation.Match.DoJoin:output_type -> relation.StatusReply
|
||||
4, // 7: relation.Match.DoIgnore:output_type -> relation.StatusReply
|
||||
var file_module_social_relation_proto_match_proto_depIdxs = []int32{
|
||||
0, // 0: relation.Match.Fetch:input_type -> blocks.FetchRequest
|
||||
1, // 1: relation.Match.Get:input_type -> blocks.IdentRequest
|
||||
1, // 2: relation.Match.DoJoin:input_type -> blocks.IdentRequest
|
||||
1, // 3: relation.Match.DoIgnore:input_type -> blocks.IdentRequest
|
||||
2, // 4: relation.Match.Fetch:output_type -> blocks.FetchRelationItemReply
|
||||
3, // 5: relation.Match.Get:output_type -> blocks.RelationItem
|
||||
4, // 6: relation.Match.DoJoin:output_type -> blocks.DataStatusReply
|
||||
4, // 7: relation.Match.DoIgnore:output_type -> blocks.DataStatusReply
|
||||
4, // [4:8] is the sub-list for method output_type
|
||||
0, // [0:4] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
@@ -55,26 +55,25 @@ var file_match_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_match_proto_init() }
|
||||
func file_match_proto_init() {
|
||||
if File_match_proto != nil {
|
||||
func init() { file_module_social_relation_proto_match_proto_init() }
|
||||
func file_module_social_relation_proto_match_proto_init() {
|
||||
if File_module_social_relation_proto_match_proto != nil {
|
||||
return
|
||||
}
|
||||
file_blocks_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_match_proto_rawDesc), len(file_match_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_social_relation_proto_match_proto_rawDesc), len(file_module_social_relation_proto_match_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 0,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_match_proto_goTypes,
|
||||
DependencyIndexes: file_match_proto_depIdxs,
|
||||
GoTypes: file_module_social_relation_proto_match_proto_goTypes,
|
||||
DependencyIndexes: file_module_social_relation_proto_match_proto_depIdxs,
|
||||
}.Build()
|
||||
File_match_proto = out.File
|
||||
file_match_proto_goTypes = nil
|
||||
file_match_proto_depIdxs = nil
|
||||
File_module_social_relation_proto_match_proto = out.File
|
||||
file_module_social_relation_proto_match_proto_goTypes = nil
|
||||
file_module_social_relation_proto_match_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user