blob: 6e0fce1bf72962ec97ad9e966c50438bdc4a4719 (
plain) (
blame)
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)
}
|