package crawler import ( oopcc "git.loafle.net/overflow/overflow_probe_container/crawler" ) var crawlers map[string]oopcc.Crawler func init() { crawlers = make(map[string]oopcc.Crawler, 0) } func addCrawler(c oopcc.Crawler) { crawlers[c.Name()] = c } func GetCrawlers() map[string]oopcc.Crawler { return crawlers }