overflow_probe_container_ne.../service/DataService.go

12 lines
273 B
Go
Raw Normal View History

2017-12-14 06:17:58 +00:00
package service
import "git.loafle.net/overflow/overflow_probe_container_network/crawler/impl"
type DataService struct {
}
func (s *DataService) Get(crawlerName string, sensorID string) (interface{}, error) {
c := impl.GetCrawler(crawlerName)
return c.Get(sensorID)
}