func main() { fmt.Println(os.Args) uwsgi.RegisterSignal(30, "", signal30) http.HandleFunc("/view/", viewHandler) http.HandleFunc("/post/", postHandler) uwsgi.Run() }
func main() { http.HandleFunc("/get/", getHandler) http.HandleFunc("/update/", updateHandler) http.HandleFunc("/set/", setHandler) http.HandleFunc("/delete/", deleteHandler) http.HandleFunc("/check/", checkHandler) uwsgi.Run() }
func main() { uwsgi.PostInit(postinit) uwsgi.PostFork(postfork) uwsgi.RequestHandler(request_handler) uwsgi.Run() }
func main() { fmt.Println(os.Args) http.HandleFunc("/view/", viewHandler) http.HandleFunc("/post/", postHandler) uwsgi.Run() }