Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieJar ¶
type CookieJar struct {
*cookiejar.Jar
CookieStore
// contains filtered or unexported fields
}
type CookieStore ¶
type CookieStore interface {
ReadCookies(...kooky.Filter) ([]*kooky.Cookie, error)
Browser() string
Profile() string
IsDefaultProfile() bool
FilePath() string
Close() error
}
kooky.CookieStore without http.CookieJar and SubJar()
type DefaultCookieStore ¶
type DefaultCookieStore struct {
FileNameStr string
File *os.File
BrowserStr string
ProfileStr string
OSStr string
IsDefaultProfileBool bool
}
DefaultCookieStore implements most of the kooky.CookieStore interface except for the ReadCookies method func (s *DefaultCookieStore) ReadCookies(filters ...kooky.Filter) ([]*kooky.Cookie, error)
DefaultCookieStore also provides an Open() method
func (*DefaultCookieStore) Browser ¶
func (s *DefaultCookieStore) Browser() string
func (*DefaultCookieStore) Close ¶
func (s *DefaultCookieStore) Close() error
func (*DefaultCookieStore) FilePath ¶
func (s *DefaultCookieStore) FilePath() string
func (*DefaultCookieStore) IsDefaultProfile ¶
func (s *DefaultCookieStore) IsDefaultProfile() bool
func (*DefaultCookieStore) Open ¶
func (s *DefaultCookieStore) Open() error
func (*DefaultCookieStore) Profile ¶
func (s *DefaultCookieStore) Profile() string
Click to show internal directories.
Click to hide internal directories.