Help us shape the future of Go! Take the 2026 Go Developer Survey

pgginsessions

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

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

Go to latest
Published: Jan 23, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

README

PGGINSESSIONS

A Postgresql backend for Gin-gonic session middleware

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	sessions.Store
}

func NewPGStoreFromPool

func NewPGStoreFromPool(db *sql.DB, keyPairs ...[]byte) (Store, error)

NewPGStoreFromPool creates a new PGStore instance from an existing database/sql pool.

func NewPGStoreFromPoolWithSchema

func NewPGStoreFromPoolWithSchema(db *sql.DB, schema string, keyPairs ...[]byte) (Store, error)

NewPGStoreFromPool creates a new PGStore instance from an existing database/sql pool.

func NewPGStoreWithSchema

func NewPGStoreWithSchema(dbURL string, schema string, keyPairs ...[]byte) (Store, error)

func NewStore

func NewStore(dbURL string, keyPairs ...[]byte) (Store, error)

Jump to

Keyboard shortcuts

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