Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
func NewAddressFromHostPort ¶
type AddressType ¶
type AddressType byte
const ( IPv4 AddressType = 1 DomainName AddressType = 3 IPv6 AddressType = 4 )
type ConnListener ¶
type Dialer ¶
type Dialer interface { ConnDialer }
type PacketConn ¶
type PacketDialer ¶
type PacketDialer interface {
DialPacket(Tunnel) (PacketConn, error)
}
type PacketListener ¶
type PacketListener interface {
AcceptPacket(Tunnel) (PacketConn, error)
}
type Server ¶
type Server interface { ConnListener PacketListener io.Closer }
Click to show internal directories.
Click to hide internal directories.