netscape

package
v0.0.0-...-f9d77c8 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CookieJar

func CookieJar(filename string, filters ...kooky.Filter) (http.CookieJar, error)

CookieJar returns an initiated http.CookieJar based on the cookies stored by the Netscape browser. Set cookies are memory stored and do not modify any browser files.

func CookieStore

func CookieStore(filename string, filters ...kooky.Filter) (kooky.CookieStore, error)

CookieStore has to be closed with CookieStore.Close() after use.

func ReadCookies

func ReadCookies(filename string, filters ...kooky.Filter) (c []*kooky.Cookie, strict bool, e error)

This ReadCookies() function returns an additional boolean "strict" telling if the file adheres to the netscape cookies.txt format

Types

This section is empty.

Jump to

Keyboard shortcuts

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