File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ This is the go portion of a [benchmarking test suite](https://www.techempower.co
7
7
## Test URLs
8
8
* http://localhost:8080/json
9
9
* http://localhost:8080/db
10
- * http://localhost:8080/queries ?n=[1-500 ]
10
+ * http://localhost:8080/query ?n=[1-500 ]
11
11
* http://localhost:8080/update?n=[1-500 ]
12
- * http://localhost:8080/cached-worlds ?n=[1-500 ]
12
+ * http://localhost:8080/cached-query ?n=[1-500 ]
13
13
* http://localhost:8080/fortune
14
14
* http://localhost:8080/plaintext
Original file line number Diff line number Diff line change 5
5
"default" : {
6
6
"json_url" : " /json" ,
7
7
"db_url" : " /db" ,
8
- "query_url" : " /queries ?n=" ,
8
+ "query_url" : " /query ?n=" ,
9
9
"update_url" : " /update?n=" ,
10
- "cached_query_url" : " /cached-worlds ?n=" ,
10
+ "cached_query_url" : " /cached-query ?n=" ,
11
11
"fortune_url" : " /fortune" ,
12
12
"plaintext_url" : " /plaintext" ,
13
13
"port" : 8080 ,
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ name = "indigo"
4
4
[main ]
5
5
urls.json = " /json"
6
6
urls.db = " /db"
7
- urls.query = " /queries ?n="
7
+ urls.query = " /query ?n="
8
8
urls.update = " /update?n="
9
- urls.cached_query = " /cached-worlds ?q="
9
+ urls.cached_query = " /cached-query ?q="
10
10
urls.fortune = " /fortune"
11
11
urls.plaintext = " /plaintext"
12
12
approach = " Realistic"
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ func main() {
35
35
36
36
router .Resource ("/json" ).Get (app .HandleJSON )
37
37
router .Resource ("/db" ).Get (app .HandleDB )
38
- router .Resource ("/queries " ).Get (app .HandleQueries )
38
+ router .Resource ("/query " ).Get (app .HandleQueries )
39
39
router .Resource ("/update" ).Get (app .HandleUpdate )
40
- router .Resource ("/cached-worlds " ).Get (app .HandleCachedWorlds )
40
+ router .Resource ("/cached-query " ).Get (app .HandleCachedWorlds )
41
41
router .Resource ("/fortune" ).Get (app .HandleFortunes )
42
42
router .Resource ("/plaintext" ).Get (app .HandlePlaintext )
43
43
You can’t perform that action at this time.
0 commit comments