Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2024 v1.0.1 Apr 24, 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