systeminit

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Control

func Control(network string, address string, connection syscall.RawConn) error

Control applies safe best-effort socket options to a socket before bind.

func Init

func Init() error

Init applies safe process-level tuning and prints a startup report.

func Listen

func Listen(ctx context.Context, network string, address string) (net.Listener, error)

Listen returns a listener with the socket options prepared by this package.

func ListenConfig

func ListenConfig() net.ListenConfig

ListenConfig exposes the prepared socket options for callers that need a net.ListenConfig.

Types

This section is empty.

Jump to

Keyboard shortcuts

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