crawler-go/crawler.go

12 lines
234 B
Go
Raw Normal View History

2018-04-19 15:11:13 +09:00
package crawler
import (
ocsm "git.loafle.net/overflow/commons-go/sensorconfig/model"
)
type Crawler interface {
Name() string
2018-04-19 15:18:08 +09:00
Auth(auth map[string]string) error
2018-04-19 15:11:13 +09:00
Get(sensorConfig *ocsm.SensorConfig) (map[string]string, error)
}