mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 01:08:47 +02:00
added host network mode support, docs update, UDP fix
This commit is contained in:
@@ -168,6 +168,8 @@ const (
|
||||
|
||||
const udpBufferSize = 1500
|
||||
|
||||
var isHostNetworkMode = os.Getenv("GOPROXY_HOST_NETWORK") == "1"
|
||||
|
||||
var logLevel = func() logrus.Level {
|
||||
switch os.Getenv("GOPROXY_DEBUG") {
|
||||
case "1", "true":
|
||||
|
||||
Reference in New Issue
Block a user