package
0.0.0-20240920015605-358179924914
Repository: https://github.com/cloudflare/tubular.git
Documentation: pkg.go.dev
# Functions
Control invokes conn.SyscallConn().Control.
ControlInt invokes conn.SyscallConn().Control and returns an integer.
Filter a list of conns with a list of predicates.
Apply a list of predicates to a conn.
FilterFD is like FilterConn except that it takes a raw fd.
FirstReuseport filters out all but the first socket of a reuseport group.
IgnoreENOTSOCK wraps a predicate and returns false instead of unix.ENOTSOCK.
InetListener returns a predicate that keeps listening TCP or connected UDP sockets.
LocalAddress filters for sockets with the given address and port.
# Type aliases
Predicate is a condition for keeping or rejecting a file.