diff --git a/Gopkg.lock b/Gopkg.lock index cabe325..856a616 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -19,7 +19,7 @@ "model/meta", "model/sensorconfig" ] - revision = "687985e7f2122d12e43a0111f13d6df9921c3d82" + revision = "7e2ff26648aefbafaee2ca28c1a958332ae4c6f9" [solve-meta] analyzer-name = "dep" diff --git a/crawler.go b/crawler.go index 2dc70cd..07f3cb2 100644 --- a/crawler.go +++ b/crawler.go @@ -5,7 +5,7 @@ import ( ) type Crawler interface { - Name() string + Key() string String() string Auth(auth map[string]interface{}) error Get(sensorConfig *ocms.SensorConfig) (map[string]string, error)