Versions in this module Expand all Collapse all v0 v0.3.5 May 1, 2024 v0.3.4 Mar 11, 2024 Changes in this version + const AtypDomainName + const AtypIPv4 + const AtypIPv6 + const CommandTCP + const CommandUDP + const Version + func NewClient(config *protocol.Protocol_Vless) point.WrapProxy + type Client struct + func (c *Client) Conn(ctx context.Context, addr netapi.Address) (net.Conn, error) + func (c *Client) PacketConn(ctx context.Context, addr netapi.Address) (net.PacketConn, error) + type Conn struct + func (vc *Conn) Read(b []byte) (int, error) + func (vc *Conn) ReadFrom(b []byte) (int, net.Addr, error) + func (vc *Conn) WriteTo(b []byte, target net.Addr) (int, error) + type DstAddr struct + Addr []byte + AddrType byte + Port uint + UDP bool