netutil

package
v0.63.7 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	HostLocalhost         = "localhost"
	HostLoopbackIPv4      = "127.0.0.1"
	HostLoopbackIPv6      = "0:0:0:0:0:0:0:1"
	HostLoopbackIPv6Short = "::1"
)

Variables

View Source
var (
	IPv4loopback = net.IPv4(127, 0, 0, 1)
)

Functions

func ModifyConnectionRequest added in v0.63.4

func ModifyConnectionRequest(conn net.Conn, modRequest func(r *http.Request) error) error

ModifyConnectionRequest updates the HTTP request for network connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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