xref: /unit/test/go/empty/app.go (revision 1329:d4d7d2ca74b1)
1693Szelenkov@nginx.compackage main
2693Szelenkov@nginx.com
3693Szelenkov@nginx.comimport (
41120Szelenkov@nginx.com	"net/http"
5*1329Smax.romanov@nginx.com	"unit.nginx.org/go"
6693Szelenkov@nginx.com)
7693Szelenkov@nginx.com
8693Szelenkov@nginx.comfunc handler(w http.ResponseWriter, r *http.Request) {}
9693Szelenkov@nginx.com
10693Szelenkov@nginx.comfunc main() {
111120Szelenkov@nginx.com	http.HandleFunc("/", handler)
121120Szelenkov@nginx.com	unit.ListenAndServe(":7080", nil)
13693Szelenkov@nginx.com}
14