MCPcopy Create free account
hub / github.com/corestoreio/pkg / IsDNSName

Function IsDNSName

util/validation/validator.go:750–756  ·  view source on GitHub ↗

IsDNSName will validate the given string as a DNS name

(str string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

IsDialStringFunction · 0.85
IsHostFunction · 0.85
TestIsDNSNameFunction · 0.85

Calls 2

IsIPFunction · 0.85
ReplaceMethod · 0.80

Tested by 1

TestIsDNSNameFunction · 0.68