crawler-go/crawler.go
crusader 539acfdfd9 ing
2018-04-26 17:03:28 +09:00

13 lines
256 B
Go

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