Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ExtractDomain ¶
ExtractDomain extracts the domain/hostname from a URL
func IsSameDomain ¶
IsSameDomain checks if two URLs belong to the same domain
func IsValidURL ¶
IsValidURL validates if the given string is a valid HTTP/HTTPS URL
func NormalizeURL ¶
NormalizeURL normalizes a URL by removing fragments and handling trailing slashes
func ResolveURL ¶
ResolveURL resolves a relative URL against a base URL to create an absolute URL
func ShouldSkipURL ¶
ShouldSkipURL checks if a URL should be skipped based on common patterns
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.