mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-16 09:29:45 -07:00
main: organize imports by server, middleware
This commit is contained in:
+4
-1
@@ -15,11 +15,14 @@ import (
|
||||
"github.com/chihaya/chihaya/server"
|
||||
"github.com/chihaya/chihaya/tracker"
|
||||
|
||||
_ "github.com/chihaya/chihaya/middleware/deniability"
|
||||
// Servers
|
||||
_ "github.com/chihaya/chihaya/server/http"
|
||||
_ "github.com/chihaya/chihaya/server/prometheus"
|
||||
_ "github.com/chihaya/chihaya/server/store"
|
||||
_ "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/infohash"
|
||||
_ "github.com/chihaya/chihaya/server/store/middleware/ip"
|
||||
|
||||
Reference in New Issue
Block a user