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