mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-15 05:50:27 +08:00
增加DNS域名管理
This commit is contained in:
@@ -101,6 +101,53 @@ func (*RPCDeleteSuccess) Descriptor() ([]byte, []int) {
|
||||
return file_rpc_messages_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
type RPCCountResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||||
}
|
||||
|
||||
func (x *RPCCountResponse) Reset() {
|
||||
*x = RPCCountResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_rpc_messages_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *RPCCountResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RPCCountResponse) ProtoMessage() {}
|
||||
|
||||
func (x *RPCCountResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rpc_messages_proto_msgTypes[2]
|
||||
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 RPCCountResponse.ProtoReflect.Descriptor instead.
|
||||
func (*RPCCountResponse) Descriptor() ([]byte, []int) {
|
||||
return file_rpc_messages_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *RPCCountResponse) GetCount() int64 {
|
||||
if x != nil {
|
||||
return x.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_rpc_messages_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_rpc_messages_proto_rawDesc = []byte{
|
||||
@@ -108,7 +155,10 @@ var file_rpc_messages_proto_rawDesc = []byte{
|
||||
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, 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,
|
||||
0x22, 0x28, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -123,10 +173,11 @@ func file_rpc_messages_proto_rawDescGZIP() []byte {
|
||||
return file_rpc_messages_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_rpc_messages_proto_goTypes = []interface{}{
|
||||
(*RPCUpdateSuccess)(nil), // 0: pb.RPCUpdateSuccess
|
||||
(*RPCDeleteSuccess)(nil), // 1: pb.RPCDeleteSuccess
|
||||
(*RPCCountResponse)(nil), // 2: pb.RPCCountResponse
|
||||
}
|
||||
var file_rpc_messages_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for method output_type
|
||||
@@ -166,6 +217,18 @@ func file_rpc_messages_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_rpc_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RPCCountResponse); 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{
|
||||
@@ -173,7 +236,7 @@ func file_rpc_messages_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_rpc_messages_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumMessages: 3,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user