Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKCPDialer ¶
NewKCPDialer returns a kcp proxy dialer.
Types ¶
type KCP ¶
type KCP struct {
// contains filtered or unexported fields
}
KCP struct.
func (*KCP) DialUDP ¶
func (s *KCP) DialUDP(network, addr string) (net.PacketConn, error)
DialUDP connects to the given address via the proxy.
func (*KCP) ListenAndServe ¶
func (s *KCP) ListenAndServe()
ListenAndServe listens on server's addr and serves connections.
Click to show internal directories.
Click to hide internal directories.