server_utils

package
v5.3.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(bp *coremain.BP, entry string) (server.Handler, error)

func NopControlFunc added in v5.3.0

func NopControlFunc(network, address string, c syscall.RawConn) error

Types

type ControlFunc added in v5.3.0

type ControlFunc func(network, address string, c syscall.RawConn) error

func ListenerControl added in v5.3.0

func ListenerControl(opt ListenerSocketOpts) ControlFunc

type ListenerSocketOpts added in v5.3.0

type ListenerSocketOpts struct {
	SO_REUSEPORT bool
	SO_RCVBUF    int
	SO_SNDBUF    int
}

Jump to

Keyboard shortcuts

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