mirror of
https://github.com/LBRYFoundation/tracker.git
synced 2025-08-23 17:47:29 +00:00
main: organize imports by server, middleware
This commit is contained in:
parent
835e1744e1
commit
35df7a29bc
1 changed files with 4 additions and 1 deletions
|
@ -15,11 +15,14 @@ import (
|
||||||
"github.com/chihaya/chihaya/server"
|
"github.com/chihaya/chihaya/server"
|
||||||
"github.com/chihaya/chihaya/tracker"
|
"github.com/chihaya/chihaya/tracker"
|
||||||
|
|
||||||
_ "github.com/chihaya/chihaya/middleware/deniability"
|
// Servers
|
||||||
_ "github.com/chihaya/chihaya/server/http"
|
_ "github.com/chihaya/chihaya/server/http"
|
||||||
_ "github.com/chihaya/chihaya/server/prometheus"
|
_ "github.com/chihaya/chihaya/server/prometheus"
|
||||||
_ "github.com/chihaya/chihaya/server/store"
|
_ "github.com/chihaya/chihaya/server/store"
|
||||||
_ "github.com/chihaya/chihaya/server/store/memory"
|
_ "github.com/chihaya/chihaya/server/store/memory"
|
||||||
|
|
||||||
|
// Middleware
|
||||||
|
_ "github.com/chihaya/chihaya/middleware/deniability"
|
||||||
_ "github.com/chihaya/chihaya/server/store/middleware/client"
|
_ "github.com/chihaya/chihaya/server/store/middleware/client"
|
||||||
_ "github.com/chihaya/chihaya/server/store/middleware/infohash"
|
_ "github.com/chihaya/chihaya/server/store/middleware/infohash"
|
||||||
_ "github.com/chihaya/chihaya/server/store/middleware/ip"
|
_ "github.com/chihaya/chihaya/server/store/middleware/ip"
|
||||||
|
|
Loading…
Add table
Reference in a new issue