Versions in this module Expand all Collapse all v0 v0.3.0 Jul 26, 2024 Changes in this version + type DomainParts struct + Root string + Subdomain string + TLD string type Fetcher + func (f *Fetcher) GetLinks(props GetLinksProps) ([]string, error) + type GetLinksProps struct + Category string + Url string v0.2.0 Jul 22, 2024 Changes in this version + type UserAgentTransport struct + Transport http.RoundTripper + UserAgent string + func (t *UserAgentTransport) RoundTrip(req *http.Request) (*http.Response, error) v0.1.0 Jul 20, 2024 Changes in this version + type Fetcher struct + func NewFetcher(props *FetcherProps) *Fetcher + func (f *Fetcher) ClearCache() + func (f *Fetcher) GetDescription(url string) (string, error) + func (f *Fetcher) GetFavicons(url string) ([]string, error) + func (f *Fetcher) GetFromCache(url string) (*html.Node, bool, error) + func (f *Fetcher) GetTitle(url string) (string, error) + type FetcherProps struct + CacheCap int + Timeout time.Duration + UserAgent string