// im a web connector package main import ( "http"; "io"; "./dbibridge"; ) // hello world, the web server func HelloServer(c *http.Conn, req *http.Request) { io.WriteString(c, "
\n"); } func main() { dbibridge.dbiconnect(); http.Handle("/hello", http.HandlerFunc(HelloServer)); err := http.ListenAndServe(":12345", nil); if err != nil { panic("ListenAndServe: ", err.String()) } }