aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-01-26 20:09:14 -0800
committerAdam Mathes <adam@trenchant.org>2017-01-26 20:09:14 -0800
commit857ac6caf70eff11f0770972a7619e4e3229a39c (patch)
treec465f220e7ab8b693043633dc62843a871531788 /cmd
parent5ee33b579113eb49a061b79be35f683b09e2694d (diff)
downloadneko-857ac6caf70eff11f0770972a7619e4e3229a39c.tar.gz
neko-857ac6caf70eff11f0770972a7619e4e3229a39c.tar.bz2
neko-857ac6caf70eff11f0770972a7619e4e3229a39c.zip
better cookie handling
Diffstat (limited to 'cmd')
-rw-r--r--cmd/nekocrawl.go14
-rw-r--r--cmd/nekoweb.go14
2 files changed, 0 insertions, 28 deletions
diff --git a/cmd/nekocrawl.go b/cmd/nekocrawl.go
deleted file mode 100644
index 2852e4f..0000000
--- a/cmd/nekocrawl.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package main
-
-import (
- "neko/config"
- "neko/crawler"
- "neko/models"
- "os"
-)
-
-func main() {
- config.Read(os.Args[1])
- models.InitDB(config.Config.DBServer)
- crawler.Crawl()
-}
diff --git a/cmd/nekoweb.go b/cmd/nekoweb.go
deleted file mode 100644
index 0904a61..0000000
--- a/cmd/nekoweb.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package main
-
-import (
- "neko/config"
- "neko/models"
- "neko/web"
- "os"
-)
-
-func main() {
- config.Read(os.Args[1])
- models.InitDB(config.Config.DBServer)
- web.Serve()
-}