xref: /unit/test/go/empty/app.go (revision 1329:d4d7d2ca74b1)
1package main
2
3import (
4	"net/http"
5	"unit.nginx.org/go"
6)
7
8func handler(w http.ResponseWriter, r *http.Request) {}
9
10func main() {
11	http.HandleFunc("/", handler)
12	unit.ListenAndServe(":7080", nil)
13}
14