liuxiaolong
2022-01-05 6c5ee1d3880ab85570810f1677537686acecf1ab
add procName
2个文件已修改
96 ■■■■ 已修改文件
app.pb.go 95 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app.proto 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app.pb.go
@@ -40,6 +40,7 @@
    UpdateBy   string `protobuf:"bytes,15,opt,name=update_by,json=updateBy,proto3" json:"update_by,omitempty"`
    IsDefault  bool   `protobuf:"varint,16,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
    IconBlob2  string `protobuf:"bytes,17,opt,name=iconBlob2,proto3" json:"iconBlob2,omitempty"`
    ProcName   string `protobuf:"bytes,18,opt,name=procName,proto3" json:"procName,omitempty"`
}
func (m *App) Reset()         { *m = App{} }
@@ -194,6 +195,13 @@
    return ""
}
func (m *App) GetProcName() string {
    if m != nil {
        return m.ProcName
    }
    return ""
}
func init() {
    proto.RegisterType((*App)(nil), "protomsg.App")
}
@@ -201,27 +209,28 @@
func init() { proto.RegisterFile("app.proto", fileDescriptor_e0f9056a14b86d47) }
var fileDescriptor_e0f9056a14b86d47 = []byte{
    // 319 bytes of a gzipped FileDescriptorProto
    0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x91, 0x4f, 0x4e, 0xc2, 0x40,
    0x18, 0xc5, 0x19, 0xca, 0x9f, 0xf6, 0x43, 0x11, 0x27, 0xc6, 0x7c, 0x51, 0x53, 0x89, 0x2b, 0x56,
    0x2e, 0xf4, 0x04, 0x36, 0x9e, 0x80, 0xb8, 0x37, 0x53, 0x3a, 0xc2, 0xc4, 0x96, 0x4e, 0xca, 0xa0,
    0xe9, 0x2d, 0xbc, 0x89, 0xd7, 0x70, 0xc9, 0xd2, 0xa5, 0x81, 0x8b, 0x98, 0xf9, 0xbe, 0x02, 0xab,
    0xbe, 0xf7, 0x9b, 0xf7, 0xda, 0xd7, 0x0c, 0x44, 0xca, 0xda, 0x7b, 0x5b, 0x95, 0xae, 0x94, 0x21,
    0x3d, 0x8a, 0xd5, 0xfc, 0xee, 0x3b, 0x80, 0xe0, 0xc9, 0x5a, 0x39, 0x84, 0xb6, 0xc9, 0x50, 0x8c,
    0xc5, 0x24, 0x9a, 0xb6, 0x4d, 0x26, 0x25, 0x74, 0x96, 0xaa, 0xd0, 0xd8, 0x26, 0x42, 0x5a, 0x22,
    0xf4, 0xad, 0x9a, 0xbd, 0xab, 0xb9, 0xc6, 0x80, 0xf0, 0xde, 0xfa, 0xb4, 0xab, 0xad, 0xc6, 0x0e,
    0xa7, 0xbd, 0x96, 0x23, 0x08, 0xd6, 0x55, 0x8e, 0x5d, 0x42, 0x5e, 0xca, 0x0b, 0xe8, 0x3a, 0xe3,
    0x72, 0x8d, 0x3d, 0x62, 0x6c, 0x3c, 0xfd, 0x34, 0x99, 0x5b, 0x60, 0x7f, 0x2c, 0x26, 0xdd, 0x29,
    0x1b, 0x79, 0x09, 0xbd, 0x85, 0x36, 0xf3, 0x85, 0xc3, 0x90, 0x70, 0xe3, 0xe4, 0x15, 0x84, 0x66,
    0x56, 0x2e, 0x93, 0xbc, 0x4c, 0x31, 0xa2, 0xd7, 0x1c, 0xbc, 0x5f, 0xe1, 0x35, 0x02, 0xaf, 0xf0,
    0xda, 0x6f, 0xfe, 0xd0, 0xd5, 0xca, 0x94, 0x4b, 0x1c, 0xf0, 0xe6, 0xc6, 0xca, 0x5b, 0x18, 0xcc,
    0x2a, 0xad, 0x9c, 0x7e, 0x75, 0xa6, 0xd0, 0x78, 0x42, 0xa7, 0xc0, 0xe8, 0xc5, 0x14, 0x5a, 0x5e,
    0x43, 0xd4, 0x04, 0xd2, 0x1a, 0x4f, 0xf9, 0x5b, 0x0c, 0x92, 0xda, 0xb7, 0xd7, 0x36, 0x3b, 0xb4,
    0x87, 0xdc, 0x66, 0xb4, 0x6f, 0x37, 0x81, 0xb4, 0xc6, 0x33, 0x6e, 0x33, 0x48, 0x6a, 0x79, 0x03,
    0x91, 0x59, 0x3d, 0xeb, 0x37, 0xb5, 0xce, 0x1d, 0x8e, 0xc6, 0x62, 0x12, 0x4e, 0x8f, 0x80, 0x4e,
    0x9b, 0x7f, 0x7a, 0xc0, 0x73, 0xaa, 0x1e, 0x41, 0x82, 0x3f, 0xdb, 0x58, 0x6c, 0xb6, 0xb1, 0xf8,
    0xdb, 0xc6, 0xe2, 0x6b, 0x17, 0xb7, 0x36, 0xbb, 0xb8, 0xf5, 0xbb, 0x8b, 0x5b, 0x69, 0x8f, 0x6e,
    0xf5, 0xf1, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x31, 0x58, 0x8b, 0xdf, 0xe9, 0x01, 0x00, 0x00,
    // 333 bytes of a gzipped FileDescriptorProto
    0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x91, 0xbb, 0x4e, 0xf3, 0x40,
    0x10, 0x85, 0xb3, 0x71, 0x2e, 0xf6, 0xe4, 0xff, 0x43, 0x18, 0x21, 0x34, 0x02, 0x64, 0x22, 0xaa,
    0x54, 0x14, 0xf0, 0x04, 0x58, 0xd4, 0x14, 0x11, 0x3d, 0xf2, 0x65, 0x49, 0x56, 0xd8, 0xf1, 0xca,
    0xd9, 0x80, 0xfc, 0x16, 0x3c, 0x16, 0x12, 0x4d, 0x4a, 0x4a, 0x94, 0xbc, 0x08, 0xda, 0x1d, 0x3b,
    0xa9, 0x7c, 0xce, 0xb7, 0x73, 0xd6, 0xc7, 0x1e, 0x08, 0x62, 0xad, 0x6f, 0x75, 0x55, 0x9a, 0x12,
    0x7d, 0xf7, 0x28, 0xd6, 0x8b, 0x9b, 0x6f, 0x0f, 0xbc, 0x07, 0xad, 0x71, 0x0c, 0x5d, 0x95, 0x91,
    0x98, 0x8a, 0x59, 0x30, 0xef, 0xaa, 0x0c, 0x11, 0x7a, 0xab, 0xb8, 0x90, 0xd4, 0x75, 0xc4, 0x69,
    0x24, 0x18, 0xea, 0x38, 0x7d, 0x8b, 0x17, 0x92, 0x3c, 0x87, 0x5b, 0x6b, 0xa7, 0x4d, 0xad, 0x25,
    0xf5, 0x78, 0xda, 0x6a, 0x9c, 0x80, 0xb7, 0xa9, 0x72, 0xea, 0x3b, 0x64, 0x25, 0x9e, 0x41, 0xdf,
    0x28, 0x93, 0x4b, 0x1a, 0x38, 0xc6, 0xc6, 0xd2, 0x0f, 0x95, 0x99, 0x25, 0x0d, 0xa7, 0x62, 0xd6,
    0x9f, 0xb3, 0xc1, 0x73, 0x18, 0x2c, 0xa5, 0x5a, 0x2c, 0x0d, 0xf9, 0x0e, 0x37, 0x0e, 0x2f, 0xc0,
    0x57, 0x69, 0xb9, 0x8a, 0xf2, 0x32, 0xa1, 0xc0, 0x5d, 0x73, 0xf0, 0xb6, 0x85, 0xd5, 0x04, 0xdc,
    0xc2, 0x6a, 0xdb, 0xf9, 0x5d, 0x56, 0x6b, 0x55, 0xae, 0x68, 0xc4, 0x9d, 0x1b, 0x8b, 0xd7, 0x30,
    0x4a, 0x2b, 0x19, 0x1b, 0xf9, 0x62, 0x54, 0x21, 0xe9, 0x9f, 0x3b, 0x05, 0x46, 0xcf, 0xaa, 0x90,
    0x78, 0x09, 0x41, 0x33, 0x90, 0xd4, 0xf4, 0x9f, 0xdf, 0xc5, 0x20, 0xaa, 0x6d, 0x7a, 0xa3, 0xb3,
    0x43, 0x7a, 0xcc, 0x69, 0x46, 0x6d, 0xba, 0x19, 0x48, 0x6a, 0x3a, 0xe1, 0x34, 0x83, 0xa8, 0xc6,
    0x2b, 0x08, 0xd4, 0xfa, 0x51, 0xbe, 0xc6, 0x9b, 0xdc, 0xd0, 0x64, 0x2a, 0x66, 0xfe, 0xfc, 0x08,
    0xdc, 0x69, 0xf3, 0x4d, 0x77, 0x74, 0xea, 0xa2, 0x47, 0x60, 0xff, 0x80, 0xae, 0xca, 0xf4, 0xc9,
    0x6e, 0x07, 0xf9, 0xde, 0xd6, 0x47, 0xf4, 0xb5, 0x0b, 0xc5, 0x76, 0x17, 0x8a, 0xdf, 0x5d, 0x28,
    0x3e, 0xf7, 0x61, 0x67, 0xbb, 0x0f, 0x3b, 0x3f, 0xfb, 0xb0, 0x93, 0x0c, 0xdc, 0xc6, 0xef, 0xff,
    0x02, 0x00, 0x00, 0xff, 0xff, 0x61, 0xce, 0xec, 0x0f, 0x05, 0x02, 0x00, 0x00,
}
func (m *App) Marshal() (dAtA []byte, err error) {
@@ -347,6 +356,14 @@
        i = encodeVarintApp(dAtA, i, uint64(len(m.IconBlob2)))
        i += copy(dAtA[i:], m.IconBlob2)
    }
    if len(m.ProcName) > 0 {
        dAtA[i] = 0x92
        i++
        dAtA[i] = 0x1
        i++
        i = encodeVarintApp(dAtA, i, uint64(len(m.ProcName)))
        i += copy(dAtA[i:], m.ProcName)
    }
    return i, nil
}
@@ -427,6 +444,10 @@
        n += 3
    }
    l = len(m.IconBlob2)
    if l > 0 {
        n += 2 + l + sovApp(uint64(l))
    }
    l = len(m.ProcName)
    if l > 0 {
        n += 2 + l + sovApp(uint64(l))
    }
@@ -974,6 +995,38 @@
            }
            m.IconBlob2 = string(dAtA[iNdEx:postIndex])
            iNdEx = postIndex
        case 18:
            if wireType != 2 {
                return fmt.Errorf("proto: wrong wireType = %d for field ProcName", wireType)
            }
            var stringLen uint64
            for shift := uint(0); ; shift += 7 {
                if shift >= 64 {
                    return ErrIntOverflowApp
                }
                if iNdEx >= l {
                    return io.ErrUnexpectedEOF
                }
                b := dAtA[iNdEx]
                iNdEx++
                stringLen |= uint64(b&0x7F) << shift
                if b < 0x80 {
                    break
                }
            }
            intStringLen := int(stringLen)
            if intStringLen < 0 {
                return ErrInvalidLengthApp
            }
            postIndex := iNdEx + intStringLen
            if postIndex < 0 {
                return ErrInvalidLengthApp
            }
            if postIndex > l {
                return io.ErrUnexpectedEOF
            }
            m.ProcName = string(dAtA[iNdEx:postIndex])
            iNdEx = postIndex
        default:
            iNdEx = preIndex
            skippy, err := skipApp(dAtA[iNdEx:])
app.proto
@@ -20,4 +20,5 @@
    string update_by = 15;
    bool isDefault = 16;
    string iconBlob2 = 17;
    string procName = 18;
}