mirror of
https://github.com/onyx-and-iris/q3rcon-proxy.git
synced 2025-01-18 16:50:54 +00:00
remove original binary
This commit is contained in:
parent
a73b214145
commit
1df9e5097a
@ -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())
|
||||
}
|
4
vendor/modules.txt
vendored
4
vendor/modules.txt
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user