Documentation ¶
Index ¶
Constants ¶
View Source
const ( Version5 byte = 0x05 Version4 byte = 0x04 )
View Source
const ( Connect byte = 0x01 Associate byte = 0x03 MaxPacketSize = 8 * 1024 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PacketConn ¶
type PacketConn struct { net.PacketConn // contains filtered or unexported fields }
func (*PacketConn) Close ¶
func (c *PacketConn) Close() error
func (*PacketConn) ReadWithMetadata ¶
func (*PacketConn) WriteWithMetadata ¶
type Server ¶
func (*Server) AcceptPacket ¶
func (s *Server) AcceptPacket() (tunnel.PacketConn, error)
Click to show internal directories.
Click to hide internal directories.