Add socks outbound

This commit is contained in:
世界
2022-07-03 13:14:49 +08:00
parent ef5cfd59d4
commit 70c0812606
10 changed files with 122 additions and 28 deletions

View File

@@ -11,7 +11,7 @@ import (
type Outbound interface {
Type() string
Tag() string
N.Dialer
NewConnection(ctx context.Context, conn net.Conn, destination M.Socksaddr) error
NewPacketConnection(ctx context.Context, conn N.PacketConn, destination M.Socksaddr) error
N.Dialer
}