Documentation
¶
Index ¶
- func FindCookieStoreFiles(rootsFunc iter.Seq2[string, error], browserName, fileName string) iter.Seq2[*CookieStoreFile, error]
- func FindFirefoxProfiles() iter.Seq2[Profile, error]
- func FindProfiles(rootsFunc iter.Seq2[string, error], browserName string) iter.Seq2[Profile, error]
- type CookieStoreFile
- type Profile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindCookieStoreFiles ¶
func FindCookieStoreFiles(rootsFunc iter.Seq2[string, error], browserName, fileName string) iter.Seq2[*CookieStoreFile, error]
FindCookieStoreFiles lazily iterates profiles from the given root directories and yields cookie store file entries with fileName appended to each profile path. Used by netscape which has a different store type but reuses profile discovery.
func FindFirefoxProfiles ¶ added in v0.2.9
FindFirefoxProfiles returns all Firefox profiles from known root directories.
Types ¶
type CookieStoreFile ¶ added in v0.2.9
CookieStoreFile represents a cookie store file discovered within a profile.
type Profile ¶ added in v0.2.9
Profile represents a Firefox-based browser profile discovered from profiles.ini.
func FindProfilesInRoot ¶ added in v0.2.9
FindProfilesInRoot parses a single profiles.ini from rootDir and returns the discovered profiles.
Click to show internal directories.
Click to hide internal directories.