Browse Source

Finalized up info for test.

Edward Bramanti 10 years ago
parent
commit
bfa888613a

+ 1 - 1
frameworks/Go/go-mongodb/benchmark_config

@@ -21,7 +21,7 @@
       "os": "Linux",
       "os": "Linux",
       "database_os": "Linux",
       "database_os": "Linux",
       "display_name": "go-mongodb",
       "display_name": "go-mongodb",
-      "notes": "mongodb implementation of dropwizard example",
+      "notes": "mongodb implementation for go net/http",
       "versus": ""
       "versus": ""
     }
     }
   }]
   }]

+ 1 - 0
frameworks/Go/go-mongodb/src/hello/hello.go

@@ -71,6 +71,7 @@ func main() {
 		fortunes = database.C("fortune")
 		fortunes = database.C("fortune")
 		http.HandleFunc("/json", jsonHandler)
 		http.HandleFunc("/json", jsonHandler)
 		http.HandleFunc("/db", dbHandler)
 		http.HandleFunc("/db", dbHandler)
+		http.HandleFunc("/fortune", fortuneHandler)
 		http.HandleFunc("queries", queriesHandler)
 		http.HandleFunc("queries", queriesHandler)
 		http.HandleFunc("/update", updateHandler)
 		http.HandleFunc("/update", updateHandler)
 		http.HandleFunc("/plaintext", plaintextHandler)
 		http.HandleFunc("/plaintext", plaintextHandler)