Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CidrValidate ¶
func DomainValidate ¶
func FindManager ¶
func UrlValidate ¶
Types ¶
type CidrModel ¶
CidrModel describes the CIDR model. References used. https://pkg.go.dev/net#ParseCIDR
type DomainModel ¶
type DomainModel struct { Domain string Host string Manager string SLD string Subdomain string TLD string }
DomainModel describes the domain model. References used. https://github.com/lupomontero/psl https://github.com/jpillora/go-tld https://github.com/zomasec/tld https://github.com/bobesa/go-domain-util https://github.com/joeguo/tldextract
func ParseDomain ¶
func ParseDomain(h string) (*DomainModel, error)
type URLModel ¶
type URLModel struct { Url string Authority string Protocol string Scheme string Credentials string Username string Password string Host string Port string Path string Search string Query string Hash string Fragment string }
URLModel describes the data source data model. References used. https://registry.terraform.io/modules/matti/urlparse/external/latest https://registry.terraform.io/providers/northwood-labs/corefunc/latest/docs/data-sources/url_parse
Click to show internal directories.
Click to hide internal directories.