f2a856aa
8904c87c
1 2 3
4 5
6 7 8 9 10
11 12
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) }