diff --git a/adapters/outbound/shadowsocksr.go b/adapters/outbound/shadowsocksr.go index 6ab355cd..36ab8048 100644 --- a/adapters/outbound/shadowsocksr.go +++ b/adapters/outbound/shadowsocksr.go @@ -11,6 +11,7 @@ import ( "github.com/Dreamacro/clash/component/ssr/obfs" "github.com/Dreamacro/clash/component/ssr/protocol" C "github.com/Dreamacro/clash/constant" + "github.com/Dreamacro/go-shadowsocks2/core" "github.com/Dreamacro/go-shadowsocks2/shadowaead" "github.com/Dreamacro/go-shadowsocks2/shadowstream" diff --git a/component/snell/pool.go b/component/snell/pool.go index 37b7de14..b169c128 100644 --- a/component/snell/pool.go +++ b/component/snell/pool.go @@ -5,6 +5,7 @@ import ( "net" "github.com/Dreamacro/clash/component/pool" + "github.com/Dreamacro/go-shadowsocks2/shadowaead" ) diff --git a/component/ssr/protocol/auth_chain_a.go b/component/ssr/protocol/auth_chain_a.go index fdad8afe..db51e104 100644 --- a/component/ssr/protocol/auth_chain_a.go +++ b/component/ssr/protocol/auth_chain_a.go @@ -14,6 +14,7 @@ import ( "github.com/Dreamacro/clash/common/pool" "github.com/Dreamacro/clash/component/ssr/tools" "github.com/Dreamacro/clash/log" + "github.com/Dreamacro/go-shadowsocks2/core" ) diff --git a/component/ssr/protocol/base.go b/component/ssr/protocol/base.go index ed8ac18f..1ed348d0 100644 --- a/component/ssr/protocol/base.go +++ b/component/ssr/protocol/base.go @@ -12,6 +12,7 @@ import ( "github.com/Dreamacro/clash/common/pool" "github.com/Dreamacro/clash/log" + "github.com/Dreamacro/go-shadowsocks2/core" ) diff --git a/hub/route/connections.go b/hub/route/connections.go index fe3b24ef..bfe3b42d 100644 --- a/hub/route/connections.go +++ b/hub/route/connections.go @@ -8,10 +8,10 @@ import ( "time" "github.com/Dreamacro/clash/tunnel/statistic" - "github.com/gorilla/websocket" "github.com/go-chi/chi/v5" "github.com/go-chi/render" + "github.com/gorilla/websocket" ) func connectionRouter() http.Handler {