loopback

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrReject = errors.New("reject loopback connection")

Functions

This section is empty.

Types

type Detector

type Detector struct {
	// contains filtered or unexported fields
}

func NewDetector

func NewDetector() *Detector

func (*Detector) CheckConn

func (l *Detector) CheckConn(metadata *C.Metadata) error

func (*Detector) CheckPacketConn

func (l *Detector) CheckPacketConn(metadata *C.Metadata) error

func (*Detector) NewConn

func (l *Detector) NewConn(conn C.Conn) C.Conn

func (*Detector) NewPacketConn

func (l *Detector) NewPacketConn(conn C.PacketConn) C.PacketConn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL