Skip to content

Instantly share code, notes, and snippets.

@camoles
camoles / vhosts.go
Last active September 23, 2017 03:41 — forked from JalfResi/revprox.go
Virtual Hosts in Go
package main
import(
"net/url"
"net/http"
"net/http/httputil"
)
func main() {
vhost1, err := url.Parse("http://127.0.0.1:1980")