Versions in this module Expand all Collapse all v1 v1.18.5 May 18, 2024 v1.18.4 Apr 29, 2024 Changes in this version + var ErrReject = errors.New("reject loopback connection") + type Detector struct + func NewDetector() *Detector + func (l *Detector) CheckConn(metadata *C.Metadata) error + func (l *Detector) CheckPacketConn(metadata *C.Metadata) error + func (l *Detector) NewConn(conn C.Conn) C.Conn + func (l *Detector) NewPacketConn(conn C.PacketConn) C.PacketConn