12 lines
273 B
Go
12 lines
273 B
Go
|
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)
|
||
|
}
|