Documentation ¶
Index ¶
- type Net
- func (tnet *Net) Dial(network, address string) (net.Conn, error)
- func (tnet *Net) DialContext(ctx context.Context, network, address string) (net.Conn, error)
- func (net *Net) DialContextTCP(ctx context.Context, addr *net.TCPAddr) (*gonet.TCPConn, error)
- func (net *Net) DialTCP(addr *net.TCPAddr) (*gonet.TCPConn, error)
- func (net *Net) DialUDP(laddr, raddr *net.UDPAddr) (*gonet.UDPConn, error)
- func (net *Net) ListenTCP(addr *net.TCPAddr) (*gonet.TCPListener, error)
- func (tnet *Net) LookupContextHost(ctx context.Context, host string) ([]string, error)
- func (net *Net) LookupHost(host string) (addrs []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Net ¶
type Net netTun
func CreateNetTUN ¶
func (*Net) DialContext ¶
func (*Net) DialContextTCP ¶
func (*Net) LookupContextHost ¶
Click to show internal directories.
Click to hide internal directories.