Put the query package into http, since it is for http only

This commit is contained in:
Justin Li
2014-07-17 01:00:26 -04:00
parent 343b3358a1
commit 3ad3f11b2c
5 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ func createServer(tkr *tracker.Tracker, cfg *config.Config) (*httptest.Server, e
config: cfg,
tracker: tkr,
}
return httptest.NewServer(NewRouter(srv)), nil
return httptest.NewServer(newRouter(srv)), nil
}
func announce(p params, srv *httptest.Server) ([]byte, error) {