gokhttp_cookies

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 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 CookieJarWrapper added in v0.0.11

type CookieJarWrapper struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewCookieJar added in v0.0.11

func NewCookieJar(fileLocation, encryptionKey string, psl cookiejar.PublicSuffixList) (*CookieJarWrapper, error)

func (*CookieJarWrapper) Cookies added in v0.0.11

func (j *CookieJarWrapper) Cookies(u *url.URL) []*http.Cookie

func (*CookieJarWrapper) Load added in v0.0.11

func (j *CookieJarWrapper) Load() error

func (*CookieJarWrapper) Save added in v0.0.11

func (j *CookieJarWrapper) Save() error

func (*CookieJarWrapper) SetCookies added in v0.0.11

func (j *CookieJarWrapper) SetCookies(u *url.URL, cookies []*http.Cookie)

Jump to

Keyboard shortcuts

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