diff options
author | rtz12 <koenig@fagott.pw> | 2016-03-29 15:58:55 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-03-29 15:58:55 (UTC) |
commit | 1400381e9c193eb7f681d95616eed9070edaab56 (patch) | |
tree | 2db90f612fcf10c0b4efada9f0e5a2e4f825a1a6 /tools/charcrawler/main.go | |
parent | 8661775d15c703ebfba4d3779d796849939c705b (diff) |
Crawler hinzugefuegt
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 | } | ||