From faadbe2552f64f89776e40d3eb6d7791f9d0fbab Mon Sep 17 00:00:00 2001 From: "jackdaw@loafle.com" Date: Wed, 12 Apr 2017 20:29:28 +0900 Subject: [PATCH] of_rpc => grpc --- network_crawler.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/network_crawler.go b/network_crawler.go index b1612bf..43a62ac 100644 --- a/network_crawler.go +++ b/network_crawler.go @@ -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) {