crawler-go/crawler.go

13 lines
256 B
Go
Raw Normal View History

2018-04-19 06:11:13 +00:00
package crawler
import (
2018-04-26 08:03:28 +00:00
ocms "git.loafle.net/overflow/commons-go/model/sensorconfig"
2018-04-19 06:11:13 +00:00
)
type Crawler interface {
Name() string
2018-04-19 07:16:36 +00:00
String() string
2018-04-23 10:18:27 +00:00
Auth(auth map[string]interface{}) error
2018-04-26 08:03:28 +00:00
Get(sensorConfig *ocms.SensorConfig) (map[string]string, error)
2018-04-19 06:11:13 +00:00
}