utils

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Unlicense Imports: 4 Imported by: 0

Documentation

Overview

Package utils provides simple helper functions that are used in AdGuard projects

Deprecated: This package is deprecated and will be removed in v0.10.0. Use functions and methods from other packages of module golibs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidHostname deprecated

func IsValidHostname(hostname string) error

IsValidHostname returns an error if hostname is invalid

Deprecated: Use netutil.ValidateDomainName instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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