implement godoxy-agent

This commit is contained in:
yusing
2025-02-10 09:36:37 +08:00
parent ecb89f80a0
commit eaf191e350
57 changed files with 1479 additions and 467 deletions

8
agent/pkg/env/env.go vendored Normal file
View File

@@ -0,0 +1,8 @@
package env
import "github.com/yusing/go-proxy/internal/common"
var (
AgentName = common.GetEnvString("AGENT_NAME", "agent")
AgentPort = common.GetEnvInt("AGENT_PORT", 8890)
)