From 0e02116c8e44b0a074520282c0fac47521e063c3 Mon Sep 17 00:00:00 2001 From: snoop Date: Mon, 29 May 2017 20:41:42 +0900 Subject: [PATCH] fixed address --- impl/server_config.go | 4 +-- impl/server_data.go | 4 +-- impl/server_status.go | 2 +- network_crawler.go | 54 ++++++++++++++++++++--------------------- network_crawler_test.go | 10 ++++---- 5 files changed, 37 insertions(+), 37 deletions(-) diff --git a/impl/server_config.go b/impl/server_config.go index c4d600e..52dc9ba 100644 --- a/impl/server_config.go +++ b/impl/server_config.go @@ -2,8 +2,8 @@ package impl import ( "golang.org/x/net/context" - pb "loafle.com/overflow/crawler_go/grpc" - "loafle.com/overflow/crawler_go" + pb "git.loafle.net/overflow/crawler_go/grpc" + "git.loafle.net/overflow/crawler_go" ) type ConfigServerImpl struct { diff --git a/impl/server_data.go b/impl/server_data.go index 1b8a6a6..94cf057 100644 --- a/impl/server_data.go +++ b/impl/server_data.go @@ -2,8 +2,8 @@ package impl import ( "golang.org/x/net/context" - pb "loafle.com/overflow/crawler_go/grpc" - "loafle.com/overflow/crawler_go" + pb "git.loafle.net/overflow/crawler_go/grpc" + "git.loafle.net/overflow/crawler_go" ) type DataServerImpl struct { diff --git a/impl/server_status.go b/impl/server_status.go index dbe2ae0..bf8405c 100644 --- a/impl/server_status.go +++ b/impl/server_status.go @@ -2,7 +2,7 @@ package impl import( "golang.org/x/net/context" - pb "loafle.com/overflow/crawler_go/grpc" + pb "git.loafle.net/overflow/crawler_go/grpc" ) type StatusServerImpl struct { diff --git a/network_crawler.go b/network_crawler.go index 5fff75c..6ce7111 100644 --- a/network_crawler.go +++ b/network_crawler.go @@ -3,35 +3,35 @@ package main import ( "flag" "google.golang.org/grpc" - "loafle.com/overflow/crawler_go" - pb "loafle.com/overflow/crawler_go/grpc" - "loafle.com/overflow/crawler_go/health_crawler/redis_protocol_crawler_go" - "loafle.com/overflow/rpc_network_crawler_go/impl" + "git.loafle.net/overflow/crawler_go" + pb "git.loafle.net/overflow/crawler_go/grpc" + "git.loafle.net/overflow/crawler_go/health_crawler/redis_protocol_crawler_go" + "git.loafle.net/overflow/rpc_network_crawler_go/impl" "log" "net" - "loafle.com/overflow/crawler_go/health_crawler/activedirectory_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/dns_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/ftp_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/ftps_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/imap_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/ldap_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/mongodb_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/mssql_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/mysql_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/pgsql_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/netbios_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/oracle_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/pop3_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/rmi_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/smb_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/smtp_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/snmpv2c_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/snmpv3_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/ssh_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/telnet_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/wmi_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/cassandra_protocol_crawler_go" - "loafle.com/overflow/crawler_go/health_crawler/http_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/activedirectory_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/dns_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/ftp_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/ftps_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/imap_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/ldap_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/mongodb_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/mssql_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/mysql_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/pgsql_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/netbios_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/oracle_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/pop3_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/rmi_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/smb_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/smtp_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/snmpv2c_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/snmpv3_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/ssh_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/telnet_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/wmi_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/cassandra_protocol_crawler_go" + "git.loafle.net/overflow/crawler_go/health_crawler/http_protocol_crawler_go" ) var g_crawlers map[string]crawler.Crawler diff --git a/network_crawler_test.go b/network_crawler_test.go index 9b66e82..98fd41c 100644 --- a/network_crawler_test.go +++ b/network_crawler_test.go @@ -5,14 +5,14 @@ import ( "github.com/stretchr/testify/assert" "golang.org/x/net/context" "google.golang.org/grpc" - "loafle.com/overflow/crawler_go" - pb "loafle.com/overflow/crawler_go/grpc" + "git.loafle.net/overflow/crawler_go" + pb "git.loafle.net/overflow/crawler_go/grpc" "log" "testing" "time" - "loafle.com/overflow/crawler_go/health_crawler/redis_protocol_crawler_go" - config "loafle.com/overflow/agent_api/config_manager" - "loafle.com/overflow/rpc_network_crawler_go/impl" + "git.loafle.net/overflow/crawler_go/health_crawler/redis_protocol_crawler_go" + config "git.loafle.net/overflow/agent_api/config_manager" + "git.loafle.net/overflow/rpc_network_crawler_go/impl" ) type call func() crawler.Crawler