Documentation ¶
Overview ¶
Package chromedb supports reading and modifying a Chrome cookies database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cookie ¶
A Cookie represents a single cookie from a Chrome database.
Values are automatically encrypted and decrypted if the store has an encryption key. If no decryption key is provided, encrypted values are represented by a Value with string "[ENCRYPTED]"; if an invalid decryption key is given, an error is reported.
type Options ¶
type Options struct { Passphrase string // the passphrase for encrypted values // The number of PBKDF2 iterations to use when converting the passphrase // into an encryption key. If ≤ 0, use a default based on runtime.GOOS. Iterations int }
Options provide optional settings for opening a Chrome cookie database. A nil *Options is ready for use, and provides empty values.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
A Store connects to a collection of cookies stored in an SQLite database using the Google Chrome cookie schema.