Documentation ¶
Index ¶
- Constants
- func HandleSocks(ctx context.Context, node *p2p.LocalNode, peerId peer.ID, conn net.Conn)
- func HandleSocksServer(server *socks5.Server, stream network.Stream)
- func HandleTcp(ctx context.Context, node *p2p.LocalNode, peerId peer.ID, conn net.Conn, ...)
- func HandleTcpServer(port int, stream network.Stream)
Constants ¶
View Source
const SocksProtocol = "/port-forward/socks/1.0.0"
View Source
const TcpProtocol = "/port-forward/tcp/1.0.0"
Variables ¶
This section is empty.
Functions ¶
func HandleSocks ¶
func HandleSocksServer ¶
func HandleTcpServer ¶ added in v0.0.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.