cookie

package module
v0.0.0-...-5179079 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: MIT Imports: 16 Imported by: 0

README

Advanced cookie library for Go, support sqlite3 cookies.

Build Status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AesEncryptor

type AesEncryptor struct {
	// contains filtered or unexported fields
}

func NewAesEncryptor

func NewAesEncryptor(salt string) *AesEncryptor

type Encryptor

type Encryptor interface {
	// contains filtered or unexported methods
}

type SqliteJar

type SqliteJar struct {
	// contains filtered or unexported fields
}

func NewSqliteJar

func NewSqliteJar(dbname string) *SqliteJar

func (*SqliteJar) Cookies

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

func (*SqliteJar) SetCookies

func (j *SqliteJar) 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