diff options
Diffstat (limited to '')
-rw-r--r-- | test/go/empty/app.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/go/empty/app.go b/test/go/empty/app.go new file mode 100644 index 00000000..2e07405f --- /dev/null +++ b/test/go/empty/app.go @@ -0,0 +1,13 @@ +package main + +import ( + "net/http" + "nginx/unit" +) + +func handler(w http.ResponseWriter, r *http.Request) {} + +func main() { + http.HandleFunc("/", handler) + unit.ListenAndServe(":7080", nil) +} |