remove const.go
This commit is contained in:
		
							parent
							
								
									4db7df6d6c
								
							
						
					
					
						commit
						1015a95d88
					
				@ -69,7 +69,7 @@ const (
 | 
				
			|||||||
	Crawlers_WMI                    Crawlers = 27
 | 
						Crawlers_WMI                    Crawlers = 27
 | 
				
			||||||
	Crawlers_JMX                    Crawlers = 28
 | 
						Crawlers_JMX                    Crawlers = 28
 | 
				
			||||||
	Crawlers_REDIS                  Crawlers = 29
 | 
						Crawlers_REDIS                  Crawlers = 29
 | 
				
			||||||
	Crawlers_MONGO                  Crawlers = 30
 | 
						Crawlers_MONGODB                Crawlers = 30
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var Crawlers_name = map[int32]string{
 | 
					var Crawlers_name = map[int32]string{
 | 
				
			||||||
@ -103,7 +103,7 @@ var Crawlers_name = map[int32]string{
 | 
				
			|||||||
	27: "WMI",
 | 
						27: "WMI",
 | 
				
			||||||
	28: "JMX",
 | 
						28: "JMX",
 | 
				
			||||||
	29: "REDIS",
 | 
						29: "REDIS",
 | 
				
			||||||
	30: "MONGO",
 | 
						30: "MONGODB",
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
var Crawlers_value = map[string]int32{
 | 
					var Crawlers_value = map[string]int32{
 | 
				
			||||||
	"HEALTH_ACTIVEDIRECTORY": 0,
 | 
						"HEALTH_ACTIVEDIRECTORY": 0,
 | 
				
			||||||
@ -136,7 +136,7 @@ var Crawlers_value = map[string]int32{
 | 
				
			|||||||
	"WMI":                    27,
 | 
						"WMI":                    27,
 | 
				
			||||||
	"JMX":                    28,
 | 
						"JMX":                    28,
 | 
				
			||||||
	"REDIS":                  29,
 | 
						"REDIS":                  29,
 | 
				
			||||||
	"MONGO":                  30,
 | 
						"MONGODB":                30,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (x Crawlers) String() string {
 | 
					func (x Crawlers) String() string {
 | 
				
			||||||
@ -454,11 +454,11 @@ var _Data_serviceDesc = grpc1.ServiceDesc{
 | 
				
			|||||||
func init() { proto.RegisterFile("grpc.proto", fileDescriptor0) }
 | 
					func init() { proto.RegisterFile("grpc.proto", fileDescriptor0) }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var fileDescriptor0 = []byte{
 | 
					var fileDescriptor0 = []byte{
 | 
				
			||||||
	// 516 bytes of a gzipped FileDescriptorProto
 | 
						// 517 bytes of a gzipped FileDescriptorProto
 | 
				
			||||||
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4d, 0x6f, 0xd3, 0x4c,
 | 
						0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4d, 0x6f, 0xd3, 0x4c,
 | 
				
			||||||
	0x10, 0xc7, 0xeb, 0x97, 0x38, 0xcd, 0xa4, 0x4d, 0xa7, 0xfb, 0xb4, 0x7d, 0x4c, 0xfa, 0xa2, 0x28,
 | 
						0x10, 0xc7, 0xeb, 0x97, 0x38, 0xcd, 0xa4, 0x4d, 0xa7, 0xfb, 0xb4, 0x7d, 0x4c, 0xfa, 0xa2, 0x28,
 | 
				
			||||||
	0x5c, 0x22, 0x0e, 0x3e, 0x24, 0x12, 0x12, 0xc7, 0x8d, 0x6d, 0x12, 0xa3, 0xf8, 0x85, 0x5d, 0xab,
 | 
						0x5c, 0x22, 0x0e, 0x3e, 0x24, 0x12, 0x12, 0xc7, 0x8d, 0x6d, 0x12, 0xa3, 0xf8, 0x85, 0x5d, 0xab,
 | 
				
			||||||
	0xd0, 0x53, 0x65, 0xb0, 0x29, 0x96, 0xa8, 0x13, 0xb9, 0x5b, 0x10, 0x5f, 0x82, 0xcf, 0x8c, 0xd6,
 | 
						0xd0, 0x53, 0x65, 0xb0, 0x29, 0x96, 0xa8, 0x13, 0xb9, 0x5b, 0x10, 0xdf, 0x82, 0x8f, 0x8c, 0xd6,
 | 
				
			||||||
	0x71, 0x94, 0x3d, 0x54, 0xe2, 0x36, 0xf3, 0x9b, 0xf9, 0xff, 0x67, 0xd7, 0xde, 0x01, 0x78, 0xa8,
 | 
						0x71, 0x94, 0x3d, 0x54, 0xe2, 0x36, 0xf3, 0x9b, 0xf9, 0xff, 0x67, 0xd7, 0xde, 0x01, 0x78, 0xa8,
 | 
				
			||||||
	0x37, 0x5f, 0x9d, 0x4d, 0xbd, 0x16, 0xeb, 0xf1, 0x6b, 0x80, 0xa0, 0xda, 0x3c, 0x0b, 0x5a, 0xd7,
 | 
						0x37, 0x5f, 0x9d, 0x4d, 0xbd, 0x16, 0xeb, 0xf1, 0x6b, 0x80, 0xa0, 0xda, 0x3c, 0x0b, 0x5a, 0xd7,
 | 
				
			||||||
	0xd9, 0x6f, 0x72, 0x0e, 0x7a, 0x59, 0xd9, 0xda, 0xc8, 0x98, 0xf4, 0xa7, 0x1d, 0x27, 0xa8, 0x4a,
 | 
						0xd9, 0x6f, 0x72, 0x0e, 0x7a, 0x59, 0xd9, 0xda, 0xc8, 0x98, 0xf4, 0xa7, 0x1d, 0x27, 0xa8, 0x4a,
 | 
				
			||||||
@ -482,10 +482,10 @@ var fileDescriptor0 = []byte{
 | 
				
			|||||||
	0xa5, 0xe5, 0x53, 0x18, 0xe0, 0x05, 0x39, 0x03, 0x6c, 0x73, 0x97, 0x72, 0x4e, 0x23, 0x8f, 0x51,
 | 
						0xa5, 0xe5, 0x53, 0x18, 0xe0, 0x05, 0x39, 0x03, 0x6c, 0x73, 0x97, 0x72, 0x4e, 0x23, 0x8f, 0x51,
 | 
				
			||||||
	0xfc, 0x5f, 0x39, 0xc0, 0x32, 0x4d, 0x13, 0xb4, 0x49, 0x17, 0x0c, 0xf9, 0x11, 0x5e, 0x91, 0x43,
 | 
						0xfc, 0x5f, 0x39, 0xc0, 0x32, 0x4d, 0x13, 0xb4, 0x49, 0x17, 0x0c, 0xf9, 0x11, 0x5e, 0x91, 0x43,
 | 
				
			||||||
	0x30, 0xe5, 0x38, 0x1c, 0x4a, 0x24, 0x2d, 0x2e, 0x65, 0xf0, 0x21, 0xfc, 0x8c, 0x57, 0xa4, 0x07,
 | 
						0x30, 0xe5, 0x38, 0x1c, 0x4a, 0x24, 0x2d, 0x2e, 0x65, 0xf0, 0x21, 0xfc, 0x8c, 0x57, 0xa4, 0x07,
 | 
				
			||||||
	0x9d, 0xed, 0x0d, 0xaf, 0x65, 0xd8, 0xfc, 0x02, 0xbc, 0x99, 0xde, 0x83, 0xe5, 0xae, 0xab, 0x6f,
 | 
						0x9d, 0xed, 0x0d, 0xaf, 0x49, 0x1f, 0xba, 0xbb, 0x5f, 0x70, 0x33, 0xbd, 0x07, 0xcb, 0x5d, 0x57,
 | 
				
			||||||
	0xe5, 0x03, 0xb1, 0xc1, 0xa0, 0x79, 0x4e, 0x2c, 0xa7, 0x79, 0xae, 0xc3, 0xae, 0xb3, 0x7d, 0x7e,
 | 
						0xdf, 0xca, 0x07, 0x62, 0x83, 0x41, 0xf3, 0x9c, 0x58, 0x4e, 0xf3, 0x60, 0x87, 0x5d, 0x67, 0xfb,
 | 
				
			||||||
	0xe3, 0x03, 0x72, 0x09, 0x16, 0x2b, 0x1e, 0xd7, 0x3f, 0x8b, 0x97, 0x8a, 0x37, 0xed, 0x6a, 0xf4,
 | 
						0x00, 0xc7, 0x07, 0xe4, 0x12, 0x2c, 0x56, 0x3c, 0xae, 0x7f, 0x16, 0x2f, 0x15, 0x6f, 0xda, 0xe5,
 | 
				
			||||||
	0x9d, 0xfd, 0x1a, 0x29, 0xf5, 0xe9, 0x08, 0x4c, 0x2f, 0x13, 0x99, 0xb4, 0x5f, 0x14, 0xe2, 0x05,
 | 
						0xe8, 0x3b, 0xfb, 0x45, 0x52, 0xea, 0xd3, 0x11, 0x98, 0x5e, 0x26, 0x32, 0x69, 0xbf, 0x28, 0xc4,
 | 
				
			||||||
	0x87, 0x2f, 0x56, 0xb3, 0x88, 0xb3, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x0d, 0xd6, 0xcd,
 | 
						0x0b, 0x0e, 0x5f, 0xac, 0x66, 0x15, 0x67, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xad, 0xd7, 0x31,
 | 
				
			||||||
	0x96, 0x03, 0x00, 0x00,
 | 
						0xc7, 0x98, 0x03, 0x00, 0x00,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -32,7 +32,7 @@ enum Crawlers {
 | 
				
			|||||||
    WMI = 27;
 | 
					    WMI = 27;
 | 
				
			||||||
    JMX = 28;
 | 
					    JMX = 28;
 | 
				
			||||||
    REDIS = 29;
 | 
					    REDIS = 29;
 | 
				
			||||||
    MONGO = 30;
 | 
					    MONGODB = 30;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// services
 | 
					// services
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user