Documentation ¶
Index ¶
Constants ¶
View Source
const PathVariable common.PathVariable = "domains"
Variables ¶
View Source
var SpecialDomain = regexp.MustCompile(`^[^.]+\.g\.tau\.link$`)
View Source
var TaubyteHooksDomain = regexp.MustCompile(`hooks.git.taubyte.com`)
View Source
var TaubyteServiceDomain = regexp.MustCompile(`^[^.]+\.taubyte\.com$`)
View Source
var WhiteListedDomains = []string{"nodes.taubyte.com", "nodes.taubyte.network"}
Functions ¶
func ExtractHost ¶
func ValidateDNS ¶
TODO move to github.com/taubyte/domain-validation
Types ¶
type DomainMatcher ¶
type MatchableDomains ¶
type MatchableDomains []DomainMatcher
func (MatchableDomains) MatchString ¶
func (p MatchableDomains) MatchString(s string) bool
type PrefixMatcher ¶
type PrefixMatcher string
func (PrefixMatcher) MatchString ¶
func (p PrefixMatcher) MatchString(s string) bool
type SuffixMatcher ¶
type SuffixMatcher string
func (SuffixMatcher) MatchString ¶
func (p SuffixMatcher) MatchString(s string) bool
Click to show internal directories.
Click to hide internal directories.