crawler-go/crawler.go

12 lines
234 B
Go
Raw Normal View History

2018-04-19 06:11:13 +00:00
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)
}