Documentation ¶
Index ¶
- func NewProxy(config *conf.GlobalConfig) (common.Runnable, error)
- func ProxyConn(ctx context.Context, a, b io.ReadWriter)
- func ProxyPacket(ctx context.Context, a, b protocol.PacketReadWriter)
- func ProxyPacketWithRouter(ctx context.Context, from protocol.PacketReadWriter, ...)
- func RegisterProxy(t conf.RunType, b Buildable)
- type Buildable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProxyPacket ¶ added in v0.0.15
func ProxyPacket(ctx context.Context, a, b protocol.PacketReadWriter)
func ProxyPacketWithRouter ¶ added in v0.0.17
func ProxyPacketWithRouter(ctx context.Context, from protocol.PacketReadWriter, table map[router.Policy]protocol.PacketReadWriter, router router.Router)
func RegisterProxy ¶ added in v0.0.15
Types ¶
Click to show internal directories.
Click to hide internal directories.