aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-07-24 09:46:59 +0200
committerVolpeon <git@volpeon.ink>2021-07-24 09:46:59 +0200
commit38485ede265d22e11a316b4d66de1bf0feb945be (patch)
tree72388107a2bfe9e8e972feccd4f9c7d542d37b60 /cmd
parentAdd underline to nav protocol (diff)
downloadgopherproxy-38485ede265d22e11a316b4d66de1bf0feb945be.tar.gz
gopherproxy-38485ede265d22e11a316b4d66de1bf0feb945be.tar.bz2
gopherproxy-38485ede265d22e11a316b4d66de1bf0feb945be.zip
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gopherproxy/main.go (renamed from cmd/port/main.go)6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/port/main.go b/cmd/gopherproxy/main.go
index 6cdccc6..1b69671 100644
--- a/cmd/port/main.go
+++ b/cmd/gopherproxy/main.go
@@ -4,7 +4,7 @@ import (
4 "flag" 4 "flag"
5 "log" 5 "log"
6 6
7 port "git.vulpes.one/Feuerfuchs/port/internal/port" 7 gopherproxy "git.vulpes.one/gopherproxy/internal/gopherproxy"
8) 8)
9 9
10var ( 10var (
@@ -20,6 +20,6 @@ var (
20func main() { 20func main() {
21 flag.Parse() 21 flag.Parse()
22 22
23 // Use a config struct 23 // Use a gopherproxy struct
24 log.Fatal(port.ListenAndServe(*bind, *startpagefile, *robotsfile, *robotsdebug, *vipsconcurrency)) 24 log.Fatal(gopherproxy.ListenAndServe(*bind, *startpagefile, *robotsfile, *robotsdebug, *vipsconcurrency))
25} 25}