of_rpc => grpc

This commit is contained in:
jackdaw@loafle.com 2017-04-12 20:29:28 +09:00
parent f1900219c0
commit faadbe2552

View File

@ -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) {