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