Skip to content

Commit

Permalink
Refactor: move to transport
Browse files Browse the repository at this point in the history
  • Loading branch information
xjasonlyu committed Jul 19, 2021
1 parent ccc35c3 commit bf59ddf
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion constant/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net"
"strconv"

"github.com/xjasonlyu/tun2socks/component/socks5"
"github.com/xjasonlyu/tun2socks/transport/socks5"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion proxy/shadowsocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (

"github.com/xjasonlyu/tun2socks/component/dialer"
obfs "github.com/xjasonlyu/tun2socks/component/simple-obfs"
"github.com/xjasonlyu/tun2socks/component/socks5"
M "github.com/xjasonlyu/tun2socks/constant"
"github.com/xjasonlyu/tun2socks/proxy/proto"
"github.com/xjasonlyu/tun2socks/transport/socks5"

"github.com/Dreamacro/go-shadowsocks2/core"
)
Expand Down
2 changes: 1 addition & 1 deletion proxy/socks4.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"net"

"github.com/xjasonlyu/tun2socks/component/dialer"
"github.com/xjasonlyu/tun2socks/component/socks4"
M "github.com/xjasonlyu/tun2socks/constant"
"github.com/xjasonlyu/tun2socks/proxy/proto"
"github.com/xjasonlyu/tun2socks/transport/socks4"
)

var _ Proxy = (*Socks4)(nil)
Expand Down
2 changes: 1 addition & 1 deletion proxy/socks5.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"net"

"github.com/xjasonlyu/tun2socks/component/dialer"
"github.com/xjasonlyu/tun2socks/component/socks5"
M "github.com/xjasonlyu/tun2socks/constant"
"github.com/xjasonlyu/tun2socks/proxy/proto"
"github.com/xjasonlyu/tun2socks/transport/socks5"
)

var _ Proxy = (*Socks5)(nil)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bf59ddf

Please sign in to comment.