f2a856aa
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) }