diff options
author | Jan C <jan@ruken.pw> | 2016-03-29 16:08:41 (UTC) |
---|---|---|
committer | Jan C <jan@ruken.pw> | 2016-03-29 16:08:41 (UTC) |
commit | b601ea312d2c08560fcb70312536e6ba61d09bf4 (patch) | |
tree | 6490675fc6ee77ceacf1b760eea1d5380cbb0f7c /tools/charcrawler/main.go | |
parent | e0e59e9ca817f1e3c2091cf1b8ac370419fec8aa (diff) | |
parent | ae4f7f89849c4e94b388aabdb28d8f9f110df3c2 (diff) |
Merge branch 'master' of ssh://projekte.fagott.pw/grilist
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 | } | ||