Documentation ¶
Index ¶
- type CookieReader
- func (reader CookieReader) GetDefaultCookieFilePath(operatingSystem string) (string, error)
- func (reader CookieReader) GetDefaultInstallPath(operatingSystem string) (string, error)
- func (reader CookieReader) ReadAllCookies(filename string) ([]*kooky.Cookie, error)
- func (reader CookieReader) ReadCookies(filename string, domainFilter string, nameFilter string, expireAfter time.Time) ([]*kooky.Cookie, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieReader ¶
type CookieReader struct {
// contains filtered or unexported fields
}
CookieReader implements kooky.KookyReader for the Chrome browser
func NewCookieReader ¶
func NewCookieReader() CookieReader
NewCookieReader returns a new CookieReader
func (CookieReader) GetDefaultCookieFilePath ¶
func (reader CookieReader) GetDefaultCookieFilePath(operatingSystem string) (string, error)
GetDefaultCookieFilePath returns the absolute filepath for the file used to store cookies on the current OS.
func (CookieReader) GetDefaultInstallPath ¶
func (reader CookieReader) GetDefaultInstallPath(operatingSystem string) (string, error)
GetDefaultInstallPath returns the absolute filepath for the default install location on the current OS.
func (CookieReader) ReadAllCookies ¶
func (reader CookieReader) ReadAllCookies(filename string) ([]*kooky.Cookie, error)
ReadAllCookies reads all cookies from the input sqlite database filepath.
Click to show internal directories.
Click to hide internal directories.