mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-08 21:29:08 -07:00
Put the query package into http, since it is for http only
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user