package main import ( "log" "os" ) func main() { p := Server{ Addr: os.Getenv("SOURCE_ADDR"), Target: os.Getenv("DESTINATION_ADDR"), } log.Panicln(p.ListenAndServe()) }