Add http/block outbound & Improve route

This commit is contained in:
世界
2022-07-03 23:23:18 +08:00
parent f510323dca
commit 13c069740f
25 changed files with 408 additions and 201 deletions

View File

@@ -11,6 +11,7 @@ import (
type Outbound interface {
Type() string
Tag() string
Network() []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