cookies

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cookies

type Cookies struct {
	Domain   string `json:"domain,omitempty"`
	Path     string `json:"path,omitempty"`
	Lifetime int    `json:"lifetime,omitempty"`
}

Cookies represent a common set of configuration settings applicable to the cookies issued by the plugin.

func (*Cookies) GetCookie added in v1.4.2

func (c *Cookies) GetCookie(k, v string) string

GetCookie returns raw cookie string from key-value input.

func (*Cookies) GetDeleteCookie added in v1.4.2

func (c *Cookies) GetDeleteCookie(s string) string

GetDeleteCookie returns raw cookie with attributes for delete action.

func (*Cookies) GetDeleteSandboxCookie added in v1.4.4

func (c *Cookies) GetDeleteSandboxCookie(s string) string

GetDeleteSandboxCookie returns raw cookie with attributes for delete action for sandbox cookie.

func (*Cookies) GetSandboxCookie added in v1.4.4

func (c *Cookies) GetSandboxCookie(k, v string, age int) string

GetSandboxCookie returns short-lived raw cookie string from key-value input.

Jump to

Keyboard shortcuts

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