chrome

package
v0.0.0-...-d625163 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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.

func (CookieReader) ReadCookies

func (reader CookieReader) ReadCookies(filename string, domainFilter string, nameFilter string, expireAfter time.Time) ([]*kooky.Cookie, error)

ReadCookies reads cookies from the input chrome sqlite database filepath, filtered by the input parameters.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL