Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectIconContentType ¶
DetectIconContentType detects the image format MIME type.
func GetTrackerIcon ¶
func GetTrackerIcon(ctx context.Context, dbPath string, domain string, customURL string) (string, error)
GetTrackerIcon resolves the domain icon, caches it under the dbPath directory, and returns its Base64 Data URL.
func SafeDomainFilename ¶
SafeDomainFilename purges disallowed characters from domain strings for file system safety.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.