rainbond: github.com/goodrain/rainbond/util/endpoint Index | Files

package validation

import "github.com/goodrain/rainbond/util/endpoint"


Package Files


func IsDomainNotIP Uses

func IsDomainNotIP(address string) bool

IsDomainNotIP check address is domain but not is ip

func SplitEndpointAddress Uses

func SplitEndpointAddress(resourceAddress string) (address string)

SplitEndpointAddress split URL to domain or IP

func ValidateDomain Uses

func ValidateDomain(domain string) []string

ValidateDomain tests that the argument is a valid domain.

func ValidateEndpointAddress Uses

func ValidateEndpointAddress(address string) []string

ValidateEndpointAddress tests that the argument is a valid endpoint address.

func ValidateEndpointIP Uses

func ValidateEndpointIP(ipAddress string) []string

ValidateEndpointIP tests that the argument is a valid IP address.

Package validation imports 4 packages (graph) and is imported by 2 packages. Updated 2020-01-14. Refresh now. Tools for package owners.