Example #1
0
func main() {
	web.Config.CookieSecret = "7C19QRmwf3mHZ9CPAaPQ0hsWeufKd"
	web.Get("/", root)
	web.Post("/say", say)
	web.Run("127.0.0.1:9999")
}
Example #2
0
File: params.go Project: hraban/web
func main() {
	web.Get("/", root)
	web.Post("/process", process)
	web.Run("127.0.0.1:9999")
}
Example #3
0
func main() {
	web.Get("/", index)
	web.Post("/multipart", multipart)
	web.Run("0.0.0.0:9999")
}