From 8c09b125a49dc0a97daf26b206747dc2631f6992 Mon Sep 17 00:00:00 2001 From: "DESKTOP-V763RJ7\\Administrator" <835606593@qq.com> Date: Mon, 12 Jan 2026 11:46:51 +0800 Subject: [PATCH] =?UTF-8?q?feat=20ss=E6=94=B9=E5=90=8Drs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../grpc_pb/mocks/service_user_grpc.pb.go | 2 +- .../{ss => rs}/grpc_pb/service_gateway.pb.go | 6 +- .../grpc_pb/service_gateway_grpc.pb.go | 0 proto/{ss => rs}/grpc_pb/service_scene.pb.go | 6 +- .../grpc_pb/service_scene_grpc.pb.go | 0 proto/{ss => rs}/grpc_pb/service_user.pb.go | 12 ++-- .../{ss => rs}/grpc_pb/service_user.pb.gw.go | 0 .../grpc_pb/service_user_grpc.pb.go | 8 +++ .../rs_common/rs_common.pb.go} | 60 +++++++++---------- 9 files changed, 51 insertions(+), 43 deletions(-) rename proto/{ss => rs}/grpc_pb/mocks/service_user_grpc.pb.go (99%) rename proto/{ss => rs}/grpc_pb/service_gateway.pb.go (98%) rename proto/{ss => rs}/grpc_pb/service_gateway_grpc.pb.go (100%) rename proto/{ss => rs}/grpc_pb/service_scene.pb.go (99%) rename proto/{ss => rs}/grpc_pb/service_scene_grpc.pb.go (100%) rename proto/{ss => rs}/grpc_pb/service_user.pb.go (98%) rename proto/{ss => rs}/grpc_pb/service_user.pb.gw.go (100%) rename proto/{ss => rs}/grpc_pb/service_user_grpc.pb.go (98%) rename proto/{ss/ss_common/ss_common.pb.go => rs/rs_common/rs_common.pb.go} (68%) diff --git a/proto/ss/grpc_pb/mocks/service_user_grpc.pb.go b/proto/rs/grpc_pb/mocks/service_user_grpc.pb.go similarity index 99% rename from proto/ss/grpc_pb/mocks/service_user_grpc.pb.go rename to proto/rs/grpc_pb/mocks/service_user_grpc.pb.go index 8e897c1..3962b63 100644 --- a/proto/ss/grpc_pb/mocks/service_user_grpc.pb.go +++ b/proto/rs/grpc_pb/mocks/service_user_grpc.pb.go @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - grpc_pb "git.hlsq.asia/mmorpg/service-common/proto/ss/grpc_pb" + grpc_pb "git.hlsq.asia/mmorpg/service-common/proto/rs/grpc_pb" gomock "github.com/golang/mock/gomock" grpc "google.golang.org/grpc" ) diff --git a/proto/ss/grpc_pb/service_gateway.pb.go b/proto/rs/grpc_pb/service_gateway.pb.go similarity index 98% rename from proto/ss/grpc_pb/service_gateway.pb.go rename to proto/rs/grpc_pb/service_gateway.pb.go index 302d9b1..4a5b323 100644 --- a/proto/ss/grpc_pb/service_gateway.pb.go +++ b/proto/rs/grpc_pb/service_gateway.pb.go @@ -7,7 +7,7 @@ package grpc_pb import ( - _ "git.hlsq.asia/mmorpg/service-common/proto/ss/ss_common" + _ "git.hlsq.asia/mmorpg/service-common/proto/rs/rs_common" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -211,7 +211,7 @@ var File_service_gateway_proto protoreflect.FileDescriptor var file_service_gateway_proto_rawDesc = []byte{ 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, - 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x0b, 0x54, 0x6f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x53, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x53, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x4d, 0x65, 0x73, @@ -231,7 +231,7 @@ var file_service_gateway_proto_rawDesc = []byte{ 0x65, 0x73, 0x70, 0x22, 0x00, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x2e, 0x68, 0x6c, 0x73, 0x71, 0x2e, 0x61, 0x73, 0x69, 0x61, 0x2f, 0x6d, 0x6d, 0x6f, 0x72, 0x70, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x73, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, + 0x74, 0x6f, 0x2f, 0x72, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/proto/ss/grpc_pb/service_gateway_grpc.pb.go b/proto/rs/grpc_pb/service_gateway_grpc.pb.go similarity index 100% rename from proto/ss/grpc_pb/service_gateway_grpc.pb.go rename to proto/rs/grpc_pb/service_gateway_grpc.pb.go diff --git a/proto/ss/grpc_pb/service_scene.pb.go b/proto/rs/grpc_pb/service_scene.pb.go similarity index 99% rename from proto/ss/grpc_pb/service_scene.pb.go rename to proto/rs/grpc_pb/service_scene.pb.go index b678564..e6c9c0f 100644 --- a/proto/ss/grpc_pb/service_scene.pb.go +++ b/proto/rs/grpc_pb/service_scene.pb.go @@ -7,7 +7,7 @@ package grpc_pb import ( - _ "git.hlsq.asia/mmorpg/service-common/proto/ss/ss_common" + _ "git.hlsq.asia/mmorpg/service-common/proto/rs/rs_common" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -377,7 +377,7 @@ var File_service_scene_proto protoreflect.FileDescriptor var file_service_scene_proto_rawDesc = []byte{ 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x08, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x53, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x53, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x53, @@ -416,7 +416,7 @@ var file_service_scene_proto_rawDesc = []byte{ 0x0b, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x28, 0x01, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x2e, 0x68, 0x6c, 0x73, 0x71, 0x2e, 0x61, 0x73, 0x69, 0x61, 0x2f, 0x6d, 0x6d, 0x6f, 0x72, 0x70, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x73, + 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/proto/ss/grpc_pb/service_scene_grpc.pb.go b/proto/rs/grpc_pb/service_scene_grpc.pb.go similarity index 100% rename from proto/ss/grpc_pb/service_scene_grpc.pb.go rename to proto/rs/grpc_pb/service_scene_grpc.pb.go diff --git a/proto/ss/grpc_pb/service_user.pb.go b/proto/rs/grpc_pb/service_user.pb.go similarity index 98% rename from proto/ss/grpc_pb/service_user.pb.go rename to proto/rs/grpc_pb/service_user.pb.go index 59b64a9..7155f03 100644 --- a/proto/ss/grpc_pb/service_user.pb.go +++ b/proto/rs/grpc_pb/service_user.pb.go @@ -7,7 +7,7 @@ package grpc_pb import ( - _ "git.hlsq.asia/mmorpg/service-common/proto/ss/ss_common" + _ "git.hlsq.asia/mmorpg/service-common/proto/rs/rs_common" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -242,8 +242,8 @@ type GenerateQuestionReq struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Num int32 `protobuf:"varint,1,opt,name=Num,json=num,proto3" json:"Num,omitempty"` // 生成数量 - Category string `protobuf:"bytes,2,opt,name=Category,proto3" json:"Category,omitempty"` // 题目类型 + Num int32 `protobuf:"varint,1,opt,name=Num,json=num,proto3" json:"Num,omitempty"` // 生成数量 + Category string `protobuf:"bytes,2,opt,name=Category,json=category,proto3" json:"Category,omitempty"` // 题目类型 } func (x *GenerateQuestionReq) Reset() { @@ -547,7 +547,7 @@ var File_service_user_proto protoreflect.FileDescriptor var file_service_user_proto_rawDesc = []byte{ 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x34, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, @@ -566,7 +566,7 @@ var file_service_user_proto_rawDesc = []byte{ 0x65, 0x72, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x22, 0x16, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x22, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x22, 0x57, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x51, @@ -611,7 +611,7 @@ var file_service_user_proto_rawDesc = []byte{ 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x2e, 0x68, 0x6c, 0x73, 0x71, 0x2e, 0x61, 0x73, 0x69, 0x61, 0x2f, 0x6d, 0x6d, 0x6f, 0x72, 0x70, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x73, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, + 0x74, 0x6f, 0x2f, 0x72, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/proto/ss/grpc_pb/service_user.pb.gw.go b/proto/rs/grpc_pb/service_user.pb.gw.go similarity index 100% rename from proto/ss/grpc_pb/service_user.pb.gw.go rename to proto/rs/grpc_pb/service_user.pb.gw.go diff --git a/proto/ss/grpc_pb/service_user_grpc.pb.go b/proto/rs/grpc_pb/service_user_grpc.pb.go similarity index 98% rename from proto/ss/grpc_pb/service_user_grpc.pb.go rename to proto/rs/grpc_pb/service_user_grpc.pb.go index 5db4b4a..a6ed85d 100644 --- a/proto/ss/grpc_pb/service_user_grpc.pb.go +++ b/proto/rs/grpc_pb/service_user_grpc.pb.go @@ -23,9 +23,13 @@ const _ = grpc.SupportPackageIsVersion7 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type UserClient interface { Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error) + // 获取用户信息 GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) + // 生成题目 GenerateQuestion(ctx context.Context, in *GenerateQuestionReq, opts ...grpc.CallOption) (*GenerateQuestionResp, error) + // 获取题目 GetQuestion(ctx context.Context, in *GetQuestionReq, opts ...grpc.CallOption) (*GetQuestionResp, error) + // 回答题目 AnswerQuestion(ctx context.Context, in *AnswerQuestionReq, opts ...grpc.CallOption) (*AnswerQuestionResp, error) } @@ -87,9 +91,13 @@ func (c *userClient) AnswerQuestion(ctx context.Context, in *AnswerQuestionReq, // for forward compatibility type UserServer interface { Login(context.Context, *LoginReq) (*LoginResp, error) + // 获取用户信息 GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error) + // 生成题目 GenerateQuestion(context.Context, *GenerateQuestionReq) (*GenerateQuestionResp, error) + // 获取题目 GetQuestion(context.Context, *GetQuestionReq) (*GetQuestionResp, error) + // 回答题目 AnswerQuestion(context.Context, *AnswerQuestionReq) (*AnswerQuestionResp, error) mustEmbedUnimplementedUserServer() } diff --git a/proto/ss/ss_common/ss_common.pb.go b/proto/rs/rs_common/rs_common.pb.go similarity index 68% rename from proto/ss/ss_common/ss_common.pb.go rename to proto/rs/rs_common/rs_common.pb.go index 186d174..1071439 100644 --- a/proto/ss/ss_common/ss_common.pb.go +++ b/proto/rs/rs_common/rs_common.pb.go @@ -2,9 +2,9 @@ // versions: // protoc-gen-go v1.32.0 // protoc v4.25.1 -// source: ss_common.proto +// source: rs_common.proto -package ss_common +package rs_common import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -32,7 +32,7 @@ type ErrorInfo struct { func (x *ErrorInfo) Reset() { *x = ErrorInfo{} if protoimpl.UnsafeEnabled { - mi := &file_ss_common_proto_msgTypes[0] + mi := &file_rs_common_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -45,7 +45,7 @@ func (x *ErrorInfo) String() string { func (*ErrorInfo) ProtoMessage() {} func (x *ErrorInfo) ProtoReflect() protoreflect.Message { - mi := &file_ss_common_proto_msgTypes[0] + mi := &file_rs_common_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -58,7 +58,7 @@ func (x *ErrorInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ErrorInfo.ProtoReflect.Descriptor instead. func (*ErrorInfo) Descriptor() ([]byte, []int) { - return file_ss_common_proto_rawDescGZIP(), []int{0} + return file_rs_common_proto_rawDescGZIP(), []int{0} } func (x *ErrorInfo) GetCode() int32 { @@ -75,37 +75,37 @@ func (x *ErrorInfo) GetMsg() string { return "" } -var File_ss_common_proto protoreflect.FileDescriptor +var File_rs_common_proto protoreflect.FileDescriptor -var file_ss_common_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, +var file_rs_common_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x2e, 0x68, 0x6c, 0x73, 0x71, 0x2e, 0x61, 0x73, 0x69, 0x61, 0x2f, 0x6d, 0x6d, 0x6f, 0x72, 0x70, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x73, 0x73, 0x2f, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, + 0x6f, 0x2f, 0x72, 0x73, 0x2f, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_ss_common_proto_rawDescOnce sync.Once - file_ss_common_proto_rawDescData = file_ss_common_proto_rawDesc + file_rs_common_proto_rawDescOnce sync.Once + file_rs_common_proto_rawDescData = file_rs_common_proto_rawDesc ) -func file_ss_common_proto_rawDescGZIP() []byte { - file_ss_common_proto_rawDescOnce.Do(func() { - file_ss_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_ss_common_proto_rawDescData) +func file_rs_common_proto_rawDescGZIP() []byte { + file_rs_common_proto_rawDescOnce.Do(func() { + file_rs_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_rs_common_proto_rawDescData) }) - return file_ss_common_proto_rawDescData + return file_rs_common_proto_rawDescData } -var file_ss_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_ss_common_proto_goTypes = []interface{}{ +var file_rs_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_rs_common_proto_goTypes = []interface{}{ (*ErrorInfo)(nil), // 0: ErrorInfo } -var file_ss_common_proto_depIdxs = []int32{ +var file_rs_common_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 @@ -113,13 +113,13 @@ var file_ss_common_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_ss_common_proto_init() } -func file_ss_common_proto_init() { - if File_ss_common_proto != nil { +func init() { file_rs_common_proto_init() } +func file_rs_common_proto_init() { + if File_rs_common_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_ss_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rs_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ErrorInfo); i { case 0: return &v.state @@ -136,18 +136,18 @@ func file_ss_common_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ss_common_proto_rawDesc, + RawDescriptor: file_rs_common_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_ss_common_proto_goTypes, - DependencyIndexes: file_ss_common_proto_depIdxs, - MessageInfos: file_ss_common_proto_msgTypes, + GoTypes: file_rs_common_proto_goTypes, + DependencyIndexes: file_rs_common_proto_depIdxs, + MessageInfos: file_rs_common_proto_msgTypes, }.Build() - File_ss_common_proto = out.File - file_ss_common_proto_rawDesc = nil - file_ss_common_proto_goTypes = nil - file_ss_common_proto_depIdxs = nil + File_rs_common_proto = out.File + file_rs_common_proto_rawDesc = nil + file_rs_common_proto_goTypes = nil + file_rs_common_proto_depIdxs = nil }