blob: 9326a19bdefd4873cb929c9e17e185813ca3ff8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package main
import (
"net/http"
"unit.nginx.org/go"
)
func handler(w http.ResponseWriter, r *http.Request) {}
func main() {
http.HandleFunc("/", handler)
unit.ListenAndServe(":7080", nil)
}
|