util
  crawlers
This commit is contained in:
snoop
2017-06-08 19:05:43 +09:00
parent a603587269
commit 662dd4ef70
5 changed files with 64 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ type Crawler struct {
func (c *CrawlerService)List() string {
out := proxy.InvokeDB("crawler", "list", nil)
out := proxy.InvokeDB("crawler", "findAll", nil)
return out
}

View File

@@ -1,3 +1,14 @@
package crawler
import "testing"
func TestList(t *testing.T) {
cs := NewCrawlerService()
out := cs.List()
t.Log(out)
}