diff options
author | Volpeon <git@volpeon.ink> | 2021-07-24 09:46:59 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-07-24 09:46:59 +0200 |
commit | 38485ede265d22e11a316b4d66de1bf0feb945be (patch) | |
tree | 72388107a2bfe9e8e972feccd4f9c7d542d37b60 /cmd | |
parent | Add underline to nav protocol (diff) | |
download | gopherproxy-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 | ||
10 | var ( | 10 | var ( |
@@ -20,6 +20,6 @@ var ( | |||
20 | func main() { | 20 | func 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 | } |