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