12 // hello world, the web server
13 func HelloServer(c *http.Conn, req *http.Request) {
14 io.WriteString(c, "<html><form method=post><input type=\"input\"><input type=\"submit\" name=\"go\" value=\"go\"></html>\n");
18 dbibridge.dbiconnect();
19 http.Handle("/hello", http.HandlerFunc(HelloServer));
20 err := http.ListenAndServe(":12345", nil);
22 panic("ListenAndServe: ", err.String())