22 lines
566 B
Go
22 lines
566 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"remote-task-excutor-cli/cmd"
|
|
)
|
|
|
|
func main() {
|
|
os.Setenv("HTTP_PROXY", "http://172.20.32.233:3128")
|
|
os.Setenv("HTTPS_PROXY", "http://172.20.32.233:3128")
|
|
os.Setenv("NO_PROXY", "172.20.32.0/24")
|
|
fmt.Println("===== Environment Variables =====")
|
|
fmt.Printf("HTTP_PROXY: %s\n", os.Getenv("HTTP_PROXY"))
|
|
fmt.Printf("HTTPS_PROXY: %s\n", os.Getenv("HTTPS_PROXY"))
|
|
fmt.Printf("http_proxy: %s\n", os.Getenv("http_proxy"))
|
|
fmt.Printf("https_proxy: %s\n", os.Getenv("https_proxy"))
|
|
|
|
cmd.Execute()
|
|
//fmt.Println("Hello, world!")
|
|
}
|