This commit is contained in:
crusader 2018-04-26 17:03:28 +09:00
parent dbf40af329
commit 539acfdfd9

View File

@ -1,12 +1,12 @@
package crawler package crawler
import ( import (
ocsm "git.loafle.net/overflow/commons-go/sensorconfig/model" ocms "git.loafle.net/overflow/commons-go/model/sensorconfig"
) )
type Crawler interface { type Crawler interface {
Name() string Name() string
String() string String() string
Auth(auth map[string]interface{}) error Auth(auth map[string]interface{}) error
Get(sensorConfig *ocsm.SensorConfig) (map[string]string, error) Get(sensorConfig *ocms.SensorConfig) (map[string]string, error)
} }