netutil

package
v0.12.6-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLocalHostname

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

IsLocalHostname returns true if given hostname is resolved to local network address, except 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