diff options
Diffstat (limited to 'tools/charcrawler/main.go')
-rw-r--r-- | tools/charcrawler/main.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/charcrawler/main.go b/tools/charcrawler/main.go new file mode 100644 index 0000000..0c94151 --- /dev/null +++ b/tools/charcrawler/main.go | |||
@@ -0,0 +1,16 @@ | |||
1 | package main | ||
2 | |||
3 | import ( | ||
4 | "time" | ||
5 | |||
6 | "private/charcrawler/crawler" | ||
7 | ) | ||
8 | |||
9 | func main() { | ||
10 | for _, c := range crawler.Instances { | ||
11 | go crawler.Start(c) | ||
12 | } | ||
13 | for { | ||
14 | time.Sleep(time.Minute) | ||
15 | } | ||
16 | } | ||