netutil

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBlockedLocalHostname added in v0.12.8

func IsBlockedLocalHostname(hostname string, allowlist []string) bool

IsBlockedLocalHostname returns true if given hostname is resolved to a local network address that is implicitly blocked (i.e. not exempted from the allowlist).

Types

This section is empty.

Jump to

Keyboard shortcuts

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