of_rpc => grpc
This commit is contained in:
		
							parent
							
								
									f1900219c0
								
							
						
					
					
						commit
						faadbe2552
					
				@ -30,6 +30,8 @@ import (
 | 
			
		||||
	"loafle.com/overflow/ssh_protocol_crawler_go"
 | 
			
		||||
	"loafle.com/overflow/telnet_protocol_crawler_go"
 | 
			
		||||
	"loafle.com/overflow/wmi_protocol_crawler_go"
 | 
			
		||||
	"loafle.com/overflow/cassandra_protocol_crawler_go"
 | 
			
		||||
	"loafle.com/overflow/http_protocol_crawler_go"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var g_crawlers map[string]crawler.Crawler
 | 
			
		||||
@ -100,6 +102,8 @@ func initCrawlers() {
 | 
			
		||||
	AddDelegate(pb.Crawlers_HEALTH_SSH.String(), ssh_protocol_crawler_go.NewSSHHeahthCrawler())
 | 
			
		||||
	AddDelegate(pb.Crawlers_HEALTH_TELNET.String(), telnet_protocol_crawler_go.NewTelnetHeahthCrawler())
 | 
			
		||||
	AddDelegate(pb.Crawlers_HEALTH_WMI.String(), wmi_protocol_crawler_go.NewWMIHeahthCrawler())
 | 
			
		||||
	AddDelegate(pb.Crawlers_HEALTH_CASSANDRA.String(), cassandra_protocol_crawler_go.NewCassandraHealthCrawler())
 | 
			
		||||
	AddDelegate(pb.Crawlers_HEALTH_HTTP.String(), http_protocol_crawler_go.NewHTTPHealthCrawler())
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func start(rc pb.ConfigServer,rd pb.DataServer) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user