mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 22:30:47 +01:00
scripts moved to makefile, tcp/udp connections can now close gracefully, but udp is still failing testing with palworld server
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
mkdir -p bin
|
||||
CGO_ENABLED=0 GOOS=linux go build -o bin/go-proxy src/go-proxy/*.go || exit 1
|
||||
|
||||
if [ "$1" = "up" ]; then
|
||||
docker compose up -d --build app && \
|
||||
docker compose logs -f
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
go get -d -u ./src/go-proxy
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
docker run -it --tty --rm \
|
||||
-p 9999:9999/udp \
|
||||
--label proxy.test-udp.scheme=udp \
|
||||
--label proxy.test-udp.port=20003:9999 \
|
||||
--network data_default \
|
||||
--name test-udp \
|
||||
debian:stable-slim \
|
||||
/bin/bash -c \
|
||||
"apt update && apt install -y netcat-openbsd && echo 'nc -u -l 9999' >> ~/.bashrc && bash"
|
||||
Reference in New Issue
Block a user