cookie

package
v3.16.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: AGPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCookie

func GetCookie(cookies []*http.Cookie, name string) *http.Cookie

func GetStr

func GetStr(cookiesStr, name string) string

func Parse

func Parse(str string) []*http.Cookie

func SetCookie

func SetCookie(cookies []*http.Cookie, name, value string) []*http.Cookie

func SetStr

func SetStr(cookiesStr, name, value string) string

func ToString

func ToString(cookies []*http.Cookie) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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