validation

package
v5.2.0-beta1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: LGPL-3.0 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