package main import ( "net" "net/http" "log" "fmt" ) func main() { http.HandleFunc("/", func (wr http.ResponseWriter, req *http.Request) { fmt.Fprintf(wr, "Hello, World!") }) log.Println("Starting unix on \"/tmp/provider\"") listener, err := net.Listen("unix", "/tmp/provider") if (err != nil) { log.Fatalln(err) } server := http.Server { } server.Serve(listener) }