crawler-go/crawler.go
crusader 11a314a6ea ing
2018-04-19 15:11:13 +09:00

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)
}