Help us shape the future of Go! Take the 2026 Go Developer Survey

conntrack

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Enabled = false

Variables

View Source
var (
	KillerEnabled bool
	MemoryLimit   uint64
)

Functions

func Close

func Close()

func Count

func Count() int

func KillerCheck

func KillerCheck() error

func List

func List() []io.Closer

func NewConn

func NewConn(conn net.Conn) (net.Conn, error)

func NewPacketConn

func NewPacketConn(conn net.PacketConn) (net.PacketConn, error)

Types

type Conn

type Conn struct {
	net.Conn
	// contains filtered or unexported fields
}

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) ReaderReplaceable

func (c *Conn) ReaderReplaceable() bool

func (*Conn) Upstream

func (c *Conn) Upstream() any

func (*Conn) WriterReplaceable

func (c *Conn) WriterReplaceable() bool

type PacketConn

type PacketConn struct {
	net.PacketConn
	// contains filtered or unexported fields
}

func (*PacketConn) Close

func (c *PacketConn) Close() error

func (*PacketConn) ReaderReplaceable

func (c *PacketConn) ReaderReplaceable() bool

func (*PacketConn) Upstream

func (c *PacketConn) Upstream() any

func (*PacketConn) WriterReplaceable

func (c *PacketConn) WriterReplaceable() bool

Jump to

Keyboard shortcuts

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