12 lines
234 B
Go
12 lines
234 B
Go
|
package crawler
|
||
|
|
||
|
import (
|
||
|
ocsm "git.loafle.net/overflow/commons-go/sensorconfig/model"
|
||
|
)
|
||
|
|
||
|
type Crawler interface {
|
||
|
Name() string
|
||
|
Auth(auth map[string]string) error
|
||
|
Get(sensorConfig *ocsm.SensorConfig) (map[string]string, error)
|
||
|
}
|