mirror of
https://github.com/SagerNet/sing-shadowsocks.git
synced 2025-04-03 20:07:40 +03:00
Cleanup code
This commit is contained in:
parent
1273973c66
commit
52a7f9f469
6 changed files with 3 additions and 46 deletions
4
none.go
4
none.go
|
@ -27,10 +27,6 @@ func (m *NoneMethod) Name() string {
|
|||
return MethodNone
|
||||
}
|
||||
|
||||
func (m *NoneMethod) KeyLength() int {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *NoneMethod) DialConn(conn net.Conn, destination M.Socksaddr) (net.Conn, error) {
|
||||
shadowsocksConn := &noneConn{
|
||||
Conn: conn,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue