mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-15 05:50:27 +08:00
实现路径规则部分功能
This commit is contained in:
@@ -63,13 +63,52 @@ func (*RPCUpdateSuccess) Descriptor() ([]byte, []int) {
|
||||
return file_rpc_messages_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type RPCDeleteSuccess struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *RPCDeleteSuccess) Reset() {
|
||||
*x = RPCDeleteSuccess{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_rpc_messages_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *RPCDeleteSuccess) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RPCDeleteSuccess) ProtoMessage() {}
|
||||
|
||||
func (x *RPCDeleteSuccess) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rpc_messages_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use RPCDeleteSuccess.ProtoReflect.Descriptor instead.
|
||||
func (*RPCDeleteSuccess) Descriptor() ([]byte, []int) {
|
||||
return file_rpc_messages_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
var File_rpc_messages_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_rpc_messages_proto_rawDesc = []byte{
|
||||
0x0a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x12, 0x0a, 0x10,
|
||||
0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -84,9 +123,10 @@ func file_rpc_messages_proto_rawDescGZIP() []byte {
|
||||
return file_rpc_messages_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_rpc_messages_proto_goTypes = []interface{}{
|
||||
(*RPCUpdateSuccess)(nil), // 0: pb.RPCUpdateSuccess
|
||||
(*RPCDeleteSuccess)(nil), // 1: pb.RPCDeleteSuccess
|
||||
}
|
||||
var file_rpc_messages_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for method output_type
|
||||
@@ -114,6 +154,18 @@ func file_rpc_messages_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_rpc_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RPCDeleteSuccess); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@@ -121,7 +173,7 @@ func file_rpc_messages_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_rpc_messages_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user