dnsname

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: BSD-3-Clause Imports: 1 Imported by: 49

Documentation

Overview

Package dnsname contains string functions for working with DNS names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasSuffix

func HasSuffix(name, suffix string) bool

HasSuffix reports whether the provided DNS name ends with the component(s) in suffix, ignoring any trailing dots.

If suffix is the empty string, HasSuffix always reports false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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