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/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"
|
||||
|
|
Loading…
Reference in a new issue