diff --git a/cmd/server/main.go b/cmd/server/main.go deleted file mode 100644 index fcb6399..0000000 --- a/cmd/server/main.go +++ /dev/null @@ -1,29 +0,0 @@ -package main - -import ( - "log" - "os" - - "github.com/dgparker/lilproxy/pkg/udpproxy" -) - -func main() { - target := os.Getenv("LILPROXY_TARGET") - if target == "" { - log.Fatal("env LILPROXY_TARGET required") - } - - port := os.Getenv("LILPROXY_PORT") - if port == "" { - log.Fatal("env LILPROXY_PORT required") - } - - c, err := udpproxy.New(port, target) - if err != nil { - log.Fatal(err) - } - - log.Printf("lilproxy initialized on port: (%s) target address: (%s)", port, target) - - log.Fatal(c.ListenAndServe()) -} diff --git a/main b/main deleted file mode 100755 index 53216b5..0000000 Binary files a/main and /dev/null differ diff --git a/vendor/modules.txt b/vendor/modules.txt deleted file mode 100644 index 8e6453e..0000000 --- a/vendor/modules.txt +++ /dev/null @@ -1,4 +0,0 @@ -# github.com/google/martian/v3 v3.3.2 -## explicit; go 1.11 -# golang.org/x/sys v0.3.0 -## explicit; go 1.17