validation

package
v0.0.0-...-a3a5c94 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDomainNotIP

func IsDomainNotIP(address string) bool

IsDomainNotIP check address is domain but not is ip

func SplitEndpointAddress

func SplitEndpointAddress(resourceAddress string) (address string)

SplitEndpointAddress split URL to domain or IP

func ValidateDomain

func ValidateDomain(domain string) []string

ValidateDomain tests that the argument is a valid domain.

func ValidateEndpointAddress

func ValidateEndpointAddress(address string) []string

ValidateEndpointAddress tests that the argument is a valid endpoint address.

func ValidateEndpointIP

func ValidateEndpointIP(ipAddress string) []string

ValidateEndpointIP tests that the argument is a valid IP address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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