ing
This commit is contained in:
parent
dbf40af329
commit
539acfdfd9
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user