diff --git a/adapters/outbound/shadowsocksr.go b/adapters/outbound/shadowsocksr.go index 6ab355cd9f..36ab8048f6 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 37b7de14dd..b169c12849 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 fdad8afea3..db51e1048a 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 ed8ac18fd1..1ed348d00c 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 fe3b24eff8..bfe3b42dca 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 {