cookies

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 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.

Jump to

Keyboard shortcuts

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