移除ip黑白名单配置

This commit is contained in:
aozhiwei 2021-01-14 12:04:53 +08:00
parent ce9eb6e0ac
commit a66cafbea0
3 changed files with 61 additions and 341 deletions

View File

@ -10,14 +10,6 @@ type MtwAliKeyConf struct {
*mt.AliKeyConf
}
type MtwIpWhiteList struct {
*mt.IpWhiteList
}
type MtwIpBlackList struct {
*mt.IpBlackList
}
type MtwLaunchWhiteList struct {
*mt.LaunchWhiteList
}

View File

@ -245,194 +245,6 @@ func (x *ServerInfoMetas) GetValues() []*ServerInfo {
return nil
}
type IpWhiteList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
List []string `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
}
func (x *IpWhiteList) Reset() {
*x = IpWhiteList{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IpWhiteList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IpWhiteList) ProtoMessage() {}
func (x *IpWhiteList) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[4]
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 IpWhiteList.ProtoReflect.Descriptor instead.
func (*IpWhiteList) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{4}
}
func (x *IpWhiteList) GetList() []string {
if x != nil {
return x.List
}
return nil
}
type IpWhiteListMetas struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Values []*IpWhiteList `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}
func (x *IpWhiteListMetas) Reset() {
*x = IpWhiteListMetas{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IpWhiteListMetas) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IpWhiteListMetas) ProtoMessage() {}
func (x *IpWhiteListMetas) ProtoReflect() protoreflect.Message {
mi := &file_mt_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 IpWhiteListMetas.ProtoReflect.Descriptor instead.
func (*IpWhiteListMetas) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{5}
}
func (x *IpWhiteListMetas) GetValues() []*IpWhiteList {
if x != nil {
return x.Values
}
return nil
}
type IpBlackList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
List []string `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
}
func (x *IpBlackList) Reset() {
*x = IpBlackList{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IpBlackList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IpBlackList) ProtoMessage() {}
func (x *IpBlackList) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[6]
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 IpBlackList.ProtoReflect.Descriptor instead.
func (*IpBlackList) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{6}
}
func (x *IpBlackList) GetList() []string {
if x != nil {
return x.List
}
return nil
}
type IpBlackListMetas struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Values []*IpBlackList `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}
func (x *IpBlackListMetas) Reset() {
*x = IpBlackListMetas{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IpBlackListMetas) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IpBlackListMetas) ProtoMessage() {}
func (x *IpBlackListMetas) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[7]
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 IpBlackListMetas.ProtoReflect.Descriptor instead.
func (*IpBlackListMetas) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{7}
}
func (x *IpBlackListMetas) GetValues() []*IpBlackList {
if x != nil {
return x.Values
}
return nil
}
type LaunchWhiteList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -444,7 +256,7 @@ type LaunchWhiteList struct {
func (x *LaunchWhiteList) Reset() {
*x = LaunchWhiteList{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[8]
mi := &file_mt_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -457,7 +269,7 @@ func (x *LaunchWhiteList) String() string {
func (*LaunchWhiteList) ProtoMessage() {}
func (x *LaunchWhiteList) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[8]
mi := &file_mt_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -470,7 +282,7 @@ func (x *LaunchWhiteList) ProtoReflect() protoreflect.Message {
// Deprecated: Use LaunchWhiteList.ProtoReflect.Descriptor instead.
func (*LaunchWhiteList) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{8}
return file_mt_proto_rawDescGZIP(), []int{4}
}
func (x *LaunchWhiteList) GetList() []string {
@ -491,7 +303,7 @@ type LaunchWhiteListMetas struct {
func (x *LaunchWhiteListMetas) Reset() {
*x = LaunchWhiteListMetas{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[9]
mi := &file_mt_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -504,7 +316,7 @@ func (x *LaunchWhiteListMetas) String() string {
func (*LaunchWhiteListMetas) ProtoMessage() {}
func (x *LaunchWhiteListMetas) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[9]
mi := &file_mt_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -517,7 +329,7 @@ func (x *LaunchWhiteListMetas) ProtoReflect() protoreflect.Message {
// Deprecated: Use LaunchWhiteListMetas.ProtoReflect.Descriptor instead.
func (*LaunchWhiteListMetas) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{9}
return file_mt_proto_rawDescGZIP(), []int{5}
}
func (x *LaunchWhiteListMetas) GetValues() []*LaunchWhiteList {
@ -538,7 +350,7 @@ type LaunchBlackList struct {
func (x *LaunchBlackList) Reset() {
*x = LaunchBlackList{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[10]
mi := &file_mt_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -551,7 +363,7 @@ func (x *LaunchBlackList) String() string {
func (*LaunchBlackList) ProtoMessage() {}
func (x *LaunchBlackList) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[10]
mi := &file_mt_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -564,7 +376,7 @@ func (x *LaunchBlackList) ProtoReflect() protoreflect.Message {
// Deprecated: Use LaunchBlackList.ProtoReflect.Descriptor instead.
func (*LaunchBlackList) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{10}
return file_mt_proto_rawDescGZIP(), []int{6}
}
func (x *LaunchBlackList) GetList() []string {
@ -585,7 +397,7 @@ type LaunchBlackListMetas struct {
func (x *LaunchBlackListMetas) Reset() {
*x = LaunchBlackListMetas{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[11]
mi := &file_mt_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -598,7 +410,7 @@ func (x *LaunchBlackListMetas) String() string {
func (*LaunchBlackListMetas) ProtoMessage() {}
func (x *LaunchBlackListMetas) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[11]
mi := &file_mt_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -611,7 +423,7 @@ func (x *LaunchBlackListMetas) ProtoReflect() protoreflect.Message {
// Deprecated: Use LaunchBlackListMetas.ProtoReflect.Descriptor instead.
func (*LaunchBlackListMetas) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{11}
return file_mt_proto_rawDescGZIP(), []int{7}
}
func (x *LaunchBlackListMetas) GetValues() []*LaunchBlackList {
@ -632,7 +444,7 @@ type BlockProvinceCity struct {
func (x *BlockProvinceCity) Reset() {
*x = BlockProvinceCity{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[12]
mi := &file_mt_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -645,7 +457,7 @@ func (x *BlockProvinceCity) String() string {
func (*BlockProvinceCity) ProtoMessage() {}
func (x *BlockProvinceCity) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[12]
mi := &file_mt_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -658,7 +470,7 @@ func (x *BlockProvinceCity) ProtoReflect() protoreflect.Message {
// Deprecated: Use BlockProvinceCity.ProtoReflect.Descriptor instead.
func (*BlockProvinceCity) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{12}
return file_mt_proto_rawDescGZIP(), []int{8}
}
func (x *BlockProvinceCity) GetList() []string {
@ -679,7 +491,7 @@ type BlockProvinceCityMetas struct {
func (x *BlockProvinceCityMetas) Reset() {
*x = BlockProvinceCityMetas{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[13]
mi := &file_mt_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -692,7 +504,7 @@ func (x *BlockProvinceCityMetas) String() string {
func (*BlockProvinceCityMetas) ProtoMessage() {}
func (x *BlockProvinceCityMetas) ProtoReflect() protoreflect.Message {
mi := &file_mt_proto_msgTypes[13]
mi := &file_mt_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -705,7 +517,7 @@ func (x *BlockProvinceCityMetas) ProtoReflect() protoreflect.Message {
// Deprecated: Use BlockProvinceCityMetas.ProtoReflect.Descriptor instead.
func (*BlockProvinceCityMetas) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{13}
return file_mt_proto_rawDescGZIP(), []int{9}
}
func (x *BlockProvinceCityMetas) GetValues() []*BlockProvinceCity {
@ -734,36 +546,26 @@ var file_mt_proto_rawDesc = []byte{
0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x22, 0x31, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76,
0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x1e, 0x0a, 0x06, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x74,
0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1b, 0x0a, 0x0b, 0x49,
0x70, 0x57, 0x68, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0c, 0x0a, 0x04, 0x6c, 0x69,
0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x22, 0x33, 0x0a, 0x10, 0x49, 0x70, 0x57, 0x68,
0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x1f, 0x0a, 0x06,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d,
0x74, 0x2e, 0x49, 0x70, 0x57, 0x68, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x1b, 0x0a,
0x0b, 0x49, 0x70, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0c, 0x0a, 0x04,
0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x22, 0x33, 0x0a, 0x10, 0x49, 0x70,
0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x1f,
0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f,
0x2e, 0x6d, 0x74, 0x2e, 0x49, 0x70, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22,
0x1f, 0x0a, 0x0f, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x57, 0x68, 0x69, 0x74, 0x65, 0x4c, 0x69,
0x73, 0x74, 0x12, 0x0c, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
0x22, 0x3b, 0x0a, 0x14, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x57, 0x68, 0x69, 0x74, 0x65, 0x4c,
0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x74, 0x2e, 0x4c, 0x61,
0x75, 0x6e, 0x63, 0x68, 0x57, 0x68, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x1f, 0x0a,
0x0f, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74,
0x12, 0x0c, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x22, 0x3b,
0x0a, 0x14, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73,
0x74, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x74, 0x2e, 0x4c, 0x61, 0x75, 0x6e,
0x63, 0x68, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x21, 0x0a, 0x11, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x43, 0x69, 0x74, 0x79,
0x12, 0x0c, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x22, 0x3f,
0x0a, 0x16, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x43,
0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x74, 0x2e, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x43, 0x69, 0x74, 0x79, 0x42,
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x6d, 0x74,
0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1f, 0x0a, 0x0f, 0x4c,
0x61, 0x75, 0x6e, 0x63, 0x68, 0x57, 0x68, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0c,
0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x22, 0x3b, 0x0a, 0x14,
0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x57, 0x68, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x4d,
0x65, 0x74, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x74, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68,
0x57, 0x68, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x1f, 0x0a, 0x0f, 0x4c, 0x61, 0x75,
0x6e, 0x63, 0x68, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0c, 0x0a, 0x04,
0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x22, 0x3b, 0x0a, 0x14, 0x4c, 0x61,
0x75, 0x6e, 0x63, 0x68, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74,
0x61, 0x73, 0x12, 0x23, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x74, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x42, 0x6c,
0x61, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x21, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x43, 0x69, 0x74, 0x79, 0x12, 0x0c, 0x0a, 0x04,
0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x22, 0x3f, 0x0a, 0x16, 0x42, 0x6c,
0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x43, 0x69, 0x74, 0x79, 0x4d,
0x65, 0x74, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x74, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x43, 0x69, 0x74, 0x79, 0x42, 0x06, 0x5a, 0x04, 0x2e,
0x3b, 0x6d, 0x74,
}
var (
@ -778,36 +580,30 @@ func file_mt_proto_rawDescGZIP() []byte {
return file_mt_proto_rawDescData
}
var file_mt_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_mt_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_mt_proto_goTypes = []interface{}{
(*AliKeyConf)(nil), // 0: mt.AliKeyConf
(*AliKeyInfoMetas)(nil), // 1: mt.AliKeyInfoMetas
(*ServerInfo)(nil), // 2: mt.ServerInfo
(*ServerInfoMetas)(nil), // 3: mt.ServerInfoMetas
(*IpWhiteList)(nil), // 4: mt.IpWhiteList
(*IpWhiteListMetas)(nil), // 5: mt.IpWhiteListMetas
(*IpBlackList)(nil), // 6: mt.IpBlackList
(*IpBlackListMetas)(nil), // 7: mt.IpBlackListMetas
(*LaunchWhiteList)(nil), // 8: mt.LaunchWhiteList
(*LaunchWhiteListMetas)(nil), // 9: mt.LaunchWhiteListMetas
(*LaunchBlackList)(nil), // 10: mt.LaunchBlackList
(*LaunchBlackListMetas)(nil), // 11: mt.LaunchBlackListMetas
(*BlockProvinceCity)(nil), // 12: mt.BlockProvinceCity
(*BlockProvinceCityMetas)(nil), // 13: mt.BlockProvinceCityMetas
(*LaunchWhiteList)(nil), // 4: mt.LaunchWhiteList
(*LaunchWhiteListMetas)(nil), // 5: mt.LaunchWhiteListMetas
(*LaunchBlackList)(nil), // 6: mt.LaunchBlackList
(*LaunchBlackListMetas)(nil), // 7: mt.LaunchBlackListMetas
(*BlockProvinceCity)(nil), // 8: mt.BlockProvinceCity
(*BlockProvinceCityMetas)(nil), // 9: mt.BlockProvinceCityMetas
}
var file_mt_proto_depIdxs = []int32{
0, // 0: mt.AliKeyInfoMetas.values:type_name -> mt.AliKeyConf
2, // 1: mt.ServerInfoMetas.values:type_name -> mt.ServerInfo
4, // 2: mt.IpWhiteListMetas.values:type_name -> mt.IpWhiteList
6, // 3: mt.IpBlackListMetas.values:type_name -> mt.IpBlackList
8, // 4: mt.LaunchWhiteListMetas.values:type_name -> mt.LaunchWhiteList
10, // 5: mt.LaunchBlackListMetas.values:type_name -> mt.LaunchBlackList
12, // 6: mt.BlockProvinceCityMetas.values:type_name -> mt.BlockProvinceCity
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
0, // 0: mt.AliKeyInfoMetas.values:type_name -> mt.AliKeyConf
2, // 1: mt.ServerInfoMetas.values:type_name -> mt.ServerInfo
4, // 2: mt.LaunchWhiteListMetas.values:type_name -> mt.LaunchWhiteList
6, // 3: mt.LaunchBlackListMetas.values:type_name -> mt.LaunchBlackList
8, // 4: mt.BlockProvinceCityMetas.values:type_name -> mt.BlockProvinceCity
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_mt_proto_init() }
@ -865,54 +661,6 @@ func file_mt_proto_init() {
}
}
file_mt_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IpWhiteList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IpWhiteListMetas); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IpBlackList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IpBlackListMetas); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LaunchWhiteList); i {
case 0:
return &v.state
@ -924,7 +672,7 @@ func file_mt_proto_init() {
return nil
}
}
file_mt_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_mt_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LaunchWhiteListMetas); i {
case 0:
return &v.state
@ -936,7 +684,7 @@ func file_mt_proto_init() {
return nil
}
}
file_mt_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
file_mt_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LaunchBlackList); i {
case 0:
return &v.state
@ -948,7 +696,7 @@ func file_mt_proto_init() {
return nil
}
}
file_mt_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
file_mt_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LaunchBlackListMetas); i {
case 0:
return &v.state
@ -960,7 +708,7 @@ func file_mt_proto_init() {
return nil
}
}
file_mt_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
file_mt_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BlockProvinceCity); i {
case 0:
return &v.state
@ -972,7 +720,7 @@ func file_mt_proto_init() {
return nil
}
}
file_mt_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
file_mt_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BlockProvinceCityMetas); i {
case 0:
return &v.state
@ -991,7 +739,7 @@ func file_mt_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_mt_proto_rawDesc,
NumEnums: 0,
NumMessages: 14,
NumMessages: 10,
NumExtensions: 0,
NumServices: 0,
},

View File

@ -26,26 +26,6 @@ message ServerInfoMetas
repeated ServerInfo values = 1;
}
message IpWhiteList
{
repeated string list = 1;
}
message IpWhiteListMetas
{
repeated IpWhiteList values = 1;
}
message IpBlackList
{
repeated string list = 1;
}
message IpBlackListMetas
{
repeated IpBlackList values = 1;
}
message LaunchWhiteList
{
repeated string list = 1;