This commit is contained in:
crusader 2018-04-19 16:12:56 +09:00
parent f93dcf388a
commit 665b0bbd56

View File

@ -23,7 +23,7 @@ type CrawlerService struct {
cda.TypeAnnotation `annotation:"@overflow:RPCService()"` cda.TypeAnnotation `annotation:"@overflow:RPCService()"`
SensorConfigService *SensorConfigService `annotation:"@Inject()"` SensorConfigService *SensorConfigService `annotation:"@Inject()"`
Crawlers map[string]crawler.Crawler `annotation:"@Resource(name=CONTAINER_CRAWLERS)"` Crawlers map[string]crawler.Crawler `annotation:"@Resource(name='CONTAINER_CRAWLERS')"`
} }
func (s *CrawlerService) InitService() error { func (s *CrawlerService) InitService() error {