netscape

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotStrict = netscape.ErrNotStrict

Functions

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(ctx context.Context, filename string, filters ...kooky.Filter) (_ []*kooky.Cookie, strict bool, _ error)

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

func TraverseCookies added in v0.2.3

func TraverseCookies(filename string, filters ...kooky.Filter) (_ kooky.CookieSeq, strict func() bool)

This TraverseCookies() function returns an additional boolean returning func "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