package config type ProxyInfo struct { ProxyHost string //代理服务器主机名 ProxyPort string //代理服务器端口号 ProxyUsername string //代理服务器用户名 ProxyPassword string //代理服务器密码 } func NewProxyInfo(proxyHost string, proxyPort string, proxyUsername string, proxyPassword string) *ProxyInfo { sdkClient := ProxyInfo{ ProxyHost: proxyHost, ProxyPort: proxyPort, ProxyUsername: proxyUsername, ProxyPassword: proxyPassword, } return &sdkClient }