Versions in this module Expand all Collapse all v1 v1.19.0 Nov 25, 2023 Changes in this version + const DNSTypeFakeIP + const DNSTypeHost + const DNSTypeRaw + type ConnContext struct + func NewConnContext(conn net.Conn, metadata *C.Metadata) *ConnContext + func (c *ConnContext) Conn() net.Conn + func (c *ConnContext) ID() uuid.UUID + func (c *ConnContext) Metadata() *C.Metadata + type DNSContext struct + func NewDNSContext(msg *dns.Msg) *DNSContext + func (c *DNSContext) ID() uuid.UUID + func (c *DNSContext) SetType(tp string) + func (c *DNSContext) Type() string + type PacketConnContext struct + func NewPacketConnContext(metadata *C.Metadata) *PacketConnContext + func (pc *PacketConnContext) ID() uuid.UUID + func (pc *PacketConnContext) InjectPacketConn(pconn C.PacketConn) + func (pc *PacketConnContext) Metadata() *C.Metadata + func (pc *PacketConnContext) PacketConn() net.PacketConn