mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-28 21:46:37 +08:00
增加DNS域名管理
This commit is contained in:
@@ -332,53 +332,6 @@ func (x *CountIPItemsWithListIdRequest) GetIpListId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type CountIPItemsWithListIdResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CountIPItemsWithListIdResponse) Reset() {
|
||||
*x = CountIPItemsWithListIdResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_ip_item_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CountIPItemsWithListIdResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CountIPItemsWithListIdResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CountIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_ip_item_proto_msgTypes[5]
|
||||
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 CountIPItemsWithListIdResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CountIPItemsWithListIdResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *CountIPItemsWithListIdResponse) GetCount() int64 {
|
||||
if x != nil {
|
||||
return x.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// 列出单页的IP
|
||||
type ListIPItemsWithListIdRequest struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -393,7 +346,7 @@ type ListIPItemsWithListIdRequest struct {
|
||||
func (x *ListIPItemsWithListIdRequest) Reset() {
|
||||
*x = ListIPItemsWithListIdRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_ip_item_proto_msgTypes[6]
|
||||
mi := &file_service_ip_item_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -406,7 +359,7 @@ func (x *ListIPItemsWithListIdRequest) String() string {
|
||||
func (*ListIPItemsWithListIdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListIPItemsWithListIdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_ip_item_proto_msgTypes[6]
|
||||
mi := &file_service_ip_item_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -419,7 +372,7 @@ func (x *ListIPItemsWithListIdRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListIPItemsWithListIdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListIPItemsWithListIdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{6}
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *ListIPItemsWithListIdRequest) GetIpListId() int64 {
|
||||
@@ -454,7 +407,7 @@ type ListIPItemsWithListIdResponse struct {
|
||||
func (x *ListIPItemsWithListIdResponse) Reset() {
|
||||
*x = ListIPItemsWithListIdResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_ip_item_proto_msgTypes[7]
|
||||
mi := &file_service_ip_item_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -467,7 +420,7 @@ func (x *ListIPItemsWithListIdResponse) String() string {
|
||||
func (*ListIPItemsWithListIdResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_ip_item_proto_msgTypes[7]
|
||||
mi := &file_service_ip_item_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -480,7 +433,7 @@ func (x *ListIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListIPItemsWithListIdResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListIPItemsWithListIdResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{7}
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *ListIPItemsWithListIdResponse) GetIpItems() []*IPItem {
|
||||
@@ -502,7 +455,7 @@ type FindEnabledIPItemRequest struct {
|
||||
func (x *FindEnabledIPItemRequest) Reset() {
|
||||
*x = FindEnabledIPItemRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_ip_item_proto_msgTypes[8]
|
||||
mi := &file_service_ip_item_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -515,7 +468,7 @@ func (x *FindEnabledIPItemRequest) String() string {
|
||||
func (*FindEnabledIPItemRequest) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledIPItemRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_ip_item_proto_msgTypes[8]
|
||||
mi := &file_service_ip_item_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -528,7 +481,7 @@ func (x *FindEnabledIPItemRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledIPItemRequest.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledIPItemRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{8}
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *FindEnabledIPItemRequest) GetIpItemId() int64 {
|
||||
@@ -549,7 +502,7 @@ type FindEnabledIPItemResponse struct {
|
||||
func (x *FindEnabledIPItemResponse) Reset() {
|
||||
*x = FindEnabledIPItemResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_ip_item_proto_msgTypes[9]
|
||||
mi := &file_service_ip_item_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -562,7 +515,7 @@ func (x *FindEnabledIPItemResponse) String() string {
|
||||
func (*FindEnabledIPItemResponse) ProtoMessage() {}
|
||||
|
||||
func (x *FindEnabledIPItemResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_ip_item_proto_msgTypes[9]
|
||||
mi := &file_service_ip_item_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -575,7 +528,7 @@ func (x *FindEnabledIPItemResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FindEnabledIPItemResponse.ProtoReflect.Descriptor instead.
|
||||
func (*FindEnabledIPItemResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{9}
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *FindEnabledIPItemResponse) GetIpItem() *IPItem {
|
||||
@@ -598,7 +551,7 @@ type ListIPItemsAfterVersionRequest struct {
|
||||
func (x *ListIPItemsAfterVersionRequest) Reset() {
|
||||
*x = ListIPItemsAfterVersionRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_ip_item_proto_msgTypes[10]
|
||||
mi := &file_service_ip_item_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -611,7 +564,7 @@ func (x *ListIPItemsAfterVersionRequest) String() string {
|
||||
func (*ListIPItemsAfterVersionRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListIPItemsAfterVersionRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_ip_item_proto_msgTypes[10]
|
||||
mi := &file_service_ip_item_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -624,7 +577,7 @@ func (x *ListIPItemsAfterVersionRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListIPItemsAfterVersionRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListIPItemsAfterVersionRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{10}
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *ListIPItemsAfterVersionRequest) GetVersion() int64 {
|
||||
@@ -652,7 +605,7 @@ type ListIPItemsAfterVersionResponse struct {
|
||||
func (x *ListIPItemsAfterVersionResponse) Reset() {
|
||||
*x = ListIPItemsAfterVersionResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_service_ip_item_proto_msgTypes[11]
|
||||
mi := &file_service_ip_item_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -665,7 +618,7 @@ func (x *ListIPItemsAfterVersionResponse) String() string {
|
||||
func (*ListIPItemsAfterVersionResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListIPItemsAfterVersionResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_service_ip_item_proto_msgTypes[11]
|
||||
mi := &file_service_ip_item_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -678,7 +631,7 @@ func (x *ListIPItemsAfterVersionResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListIPItemsAfterVersionResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListIPItemsAfterVersionResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{11}
|
||||
return file_service_ip_item_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *ListIPItemsAfterVersionResponse) GetIpItems() []*IPItem {
|
||||
@@ -724,76 +677,71 @@ var file_service_ip_item_proto_rawDesc = []byte{
|
||||
0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49,
|
||||
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x1e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 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, 0x22, 0x66, 0x0a, 0x1c,
|
||||
0x73, 0x74, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64,
|
||||
0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x1d,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
||||
0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
||||
0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
||||
0x73, 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x36, 0x0a, 0x18, 0x46,
|
||||
0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a,
|
||||
0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x73, 0x22, 0x36, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1a, 0x0a, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x22, 0x0a, 0x06, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x69, 0x70,
|
||||
0x49, 0x74, 0x65, 0x6d, 0x22, 0x4e, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
||||
0x73, 0x69, 0x7a, 0x65, 0x22, 0x47, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50,
|
||||
0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0xc5, 0x04,
|
||||
0x0a, 0x0d, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
||||
0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12,
|
||||
0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50,
|
||||
0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
||||
0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65,
|
||||
0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
||||
0x12, 0x5f, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
||||
0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57,
|
||||
0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x5c, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
||||
0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74,
|
||||
0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50,
|
||||
0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
||||
0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74,
|
||||
0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d,
|
||||
0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x69, 0x70, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50,
|
||||
0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x22, 0x4e, 0x0a, 0x1e,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
|
||||
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x47, 0x0a, 0x1f,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
|
||||
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70,
|
||||
0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0xb7, 0x04, 0x0a, 0x0d, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x6c,
|
||||
0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x49, 0x64, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f,
|
||||
0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x6c,
|
||||
0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x49, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50,
|
||||
0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49,
|
||||
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e,
|
||||
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49,
|
||||
0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c,
|
||||
0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56,
|
||||
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72,
|
||||
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -808,42 +756,42 @@ func file_service_ip_item_proto_rawDescGZIP() []byte {
|
||||
return file_service_ip_item_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_service_ip_item_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_service_ip_item_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_service_ip_item_proto_goTypes = []interface{}{
|
||||
(*CreateIPItemRequest)(nil), // 0: pb.CreateIPItemRequest
|
||||
(*CreateIPItemResponse)(nil), // 1: pb.CreateIPItemResponse
|
||||
(*UpdateIPItemRequest)(nil), // 2: pb.UpdateIPItemRequest
|
||||
(*DeleteIPItemRequest)(nil), // 3: pb.DeleteIPItemRequest
|
||||
(*CountIPItemsWithListIdRequest)(nil), // 4: pb.CountIPItemsWithListIdRequest
|
||||
(*CountIPItemsWithListIdResponse)(nil), // 5: pb.CountIPItemsWithListIdResponse
|
||||
(*ListIPItemsWithListIdRequest)(nil), // 6: pb.ListIPItemsWithListIdRequest
|
||||
(*ListIPItemsWithListIdResponse)(nil), // 7: pb.ListIPItemsWithListIdResponse
|
||||
(*FindEnabledIPItemRequest)(nil), // 8: pb.FindEnabledIPItemRequest
|
||||
(*FindEnabledIPItemResponse)(nil), // 9: pb.FindEnabledIPItemResponse
|
||||
(*ListIPItemsAfterVersionRequest)(nil), // 10: pb.ListIPItemsAfterVersionRequest
|
||||
(*ListIPItemsAfterVersionResponse)(nil), // 11: pb.ListIPItemsAfterVersionResponse
|
||||
(*IPItem)(nil), // 12: pb.IPItem
|
||||
(*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess
|
||||
(*RPCDeleteSuccess)(nil), // 14: pb.RPCDeleteSuccess
|
||||
(*ListIPItemsWithListIdRequest)(nil), // 5: pb.ListIPItemsWithListIdRequest
|
||||
(*ListIPItemsWithListIdResponse)(nil), // 6: pb.ListIPItemsWithListIdResponse
|
||||
(*FindEnabledIPItemRequest)(nil), // 7: pb.FindEnabledIPItemRequest
|
||||
(*FindEnabledIPItemResponse)(nil), // 8: pb.FindEnabledIPItemResponse
|
||||
(*ListIPItemsAfterVersionRequest)(nil), // 9: pb.ListIPItemsAfterVersionRequest
|
||||
(*ListIPItemsAfterVersionResponse)(nil), // 10: pb.ListIPItemsAfterVersionResponse
|
||||
(*IPItem)(nil), // 11: pb.IPItem
|
||||
(*RPCUpdateSuccess)(nil), // 12: pb.RPCUpdateSuccess
|
||||
(*RPCDeleteSuccess)(nil), // 13: pb.RPCDeleteSuccess
|
||||
(*RPCCountResponse)(nil), // 14: pb.RPCCountResponse
|
||||
}
|
||||
var file_service_ip_item_proto_depIdxs = []int32{
|
||||
12, // 0: pb.ListIPItemsWithListIdResponse.ipItems:type_name -> pb.IPItem
|
||||
12, // 1: pb.FindEnabledIPItemResponse.ipItem:type_name -> pb.IPItem
|
||||
12, // 2: pb.ListIPItemsAfterVersionResponse.ipItems:type_name -> pb.IPItem
|
||||
11, // 0: pb.ListIPItemsWithListIdResponse.ipItems:type_name -> pb.IPItem
|
||||
11, // 1: pb.FindEnabledIPItemResponse.ipItem:type_name -> pb.IPItem
|
||||
11, // 2: pb.ListIPItemsAfterVersionResponse.ipItems:type_name -> pb.IPItem
|
||||
0, // 3: pb.IPItemService.createIPItem:input_type -> pb.CreateIPItemRequest
|
||||
2, // 4: pb.IPItemService.updateIPItem:input_type -> pb.UpdateIPItemRequest
|
||||
3, // 5: pb.IPItemService.deleteIPItem:input_type -> pb.DeleteIPItemRequest
|
||||
4, // 6: pb.IPItemService.countIPItemsWithListId:input_type -> pb.CountIPItemsWithListIdRequest
|
||||
6, // 7: pb.IPItemService.listIPItemsWithListId:input_type -> pb.ListIPItemsWithListIdRequest
|
||||
8, // 8: pb.IPItemService.findEnabledIPItem:input_type -> pb.FindEnabledIPItemRequest
|
||||
10, // 9: pb.IPItemService.listIPItemsAfterVersion:input_type -> pb.ListIPItemsAfterVersionRequest
|
||||
5, // 7: pb.IPItemService.listIPItemsWithListId:input_type -> pb.ListIPItemsWithListIdRequest
|
||||
7, // 8: pb.IPItemService.findEnabledIPItem:input_type -> pb.FindEnabledIPItemRequest
|
||||
9, // 9: pb.IPItemService.listIPItemsAfterVersion:input_type -> pb.ListIPItemsAfterVersionRequest
|
||||
1, // 10: pb.IPItemService.createIPItem:output_type -> pb.CreateIPItemResponse
|
||||
13, // 11: pb.IPItemService.updateIPItem:output_type -> pb.RPCUpdateSuccess
|
||||
14, // 12: pb.IPItemService.deleteIPItem:output_type -> pb.RPCDeleteSuccess
|
||||
5, // 13: pb.IPItemService.countIPItemsWithListId:output_type -> pb.CountIPItemsWithListIdResponse
|
||||
7, // 14: pb.IPItemService.listIPItemsWithListId:output_type -> pb.ListIPItemsWithListIdResponse
|
||||
9, // 15: pb.IPItemService.findEnabledIPItem:output_type -> pb.FindEnabledIPItemResponse
|
||||
11, // 16: pb.IPItemService.listIPItemsAfterVersion:output_type -> pb.ListIPItemsAfterVersionResponse
|
||||
12, // 11: pb.IPItemService.updateIPItem:output_type -> pb.RPCUpdateSuccess
|
||||
13, // 12: pb.IPItemService.deleteIPItem:output_type -> pb.RPCDeleteSuccess
|
||||
14, // 13: pb.IPItemService.countIPItemsWithListId:output_type -> pb.RPCCountResponse
|
||||
6, // 14: pb.IPItemService.listIPItemsWithListId:output_type -> pb.ListIPItemsWithListIdResponse
|
||||
8, // 15: pb.IPItemService.findEnabledIPItem:output_type -> pb.FindEnabledIPItemResponse
|
||||
10, // 16: pb.IPItemService.listIPItemsAfterVersion:output_type -> pb.ListIPItemsAfterVersionResponse
|
||||
10, // [10:17] is the sub-list for method output_type
|
||||
3, // [3:10] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
@@ -920,18 +868,6 @@ func file_service_ip_item_proto_init() {
|
||||
}
|
||||
}
|
||||
file_service_ip_item_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CountIPItemsWithListIdResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_ip_item_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListIPItemsWithListIdRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -943,7 +879,7 @@ func file_service_ip_item_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_ip_item_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_ip_item_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListIPItemsWithListIdResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -955,7 +891,7 @@ func file_service_ip_item_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_ip_item_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_ip_item_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledIPItemRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -967,7 +903,7 @@ func file_service_ip_item_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_ip_item_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_ip_item_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FindEnabledIPItemResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -979,7 +915,7 @@ func file_service_ip_item_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_ip_item_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_ip_item_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListIPItemsAfterVersionRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -991,7 +927,7 @@ func file_service_ip_item_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_service_ip_item_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_service_ip_item_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListIPItemsAfterVersionResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1010,7 +946,7 @@ func file_service_ip_item_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_ip_item_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 12,
|
||||
NumMessages: 11,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
@@ -1043,7 +979,7 @@ type IPItemServiceClient interface {
|
||||
// 删除IP
|
||||
DeleteIPItem(ctx context.Context, in *DeleteIPItemRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error)
|
||||
// 计算IP数量
|
||||
CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*CountIPItemsWithListIdResponse, error)
|
||||
CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
||||
// 列出单页的IP
|
||||
ListIPItemsWithListId(ctx context.Context, in *ListIPItemsWithListIdRequest, opts ...grpc.CallOption) (*ListIPItemsWithListIdResponse, error)
|
||||
// 查找单个IP
|
||||
@@ -1087,8 +1023,8 @@ func (c *iPItemServiceClient) DeleteIPItem(ctx context.Context, in *DeleteIPItem
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *iPItemServiceClient) CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*CountIPItemsWithListIdResponse, error) {
|
||||
out := new(CountIPItemsWithListIdResponse)
|
||||
func (c *iPItemServiceClient) CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
||||
out := new(RPCCountResponse)
|
||||
err := c.cc.Invoke(ctx, "/pb.IPItemService/countIPItemsWithListId", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1132,7 +1068,7 @@ type IPItemServiceServer interface {
|
||||
// 删除IP
|
||||
DeleteIPItem(context.Context, *DeleteIPItemRequest) (*RPCDeleteSuccess, error)
|
||||
// 计算IP数量
|
||||
CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*CountIPItemsWithListIdResponse, error)
|
||||
CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*RPCCountResponse, error)
|
||||
// 列出单页的IP
|
||||
ListIPItemsWithListId(context.Context, *ListIPItemsWithListIdRequest) (*ListIPItemsWithListIdResponse, error)
|
||||
// 查找单个IP
|
||||
@@ -1154,7 +1090,7 @@ func (*UnimplementedIPItemServiceServer) UpdateIPItem(context.Context, *UpdateIP
|
||||
func (*UnimplementedIPItemServiceServer) DeleteIPItem(context.Context, *DeleteIPItemRequest) (*RPCDeleteSuccess, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteIPItem not implemented")
|
||||
}
|
||||
func (*UnimplementedIPItemServiceServer) CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*CountIPItemsWithListIdResponse, error) {
|
||||
func (*UnimplementedIPItemServiceServer) CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountIPItemsWithListId not implemented")
|
||||
}
|
||||
func (*UnimplementedIPItemServiceServer) ListIPItemsWithListId(context.Context, *ListIPItemsWithListIdRequest) (*ListIPItemsWithListIdResponse, error) {
|
||||
|
||||
Reference in New Issue
Block a user