stores

package
v0.0.0-...-7976b14 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EzSqlxStore

type EzSqlxStore struct {
	Options *ezsesh.EzOptions
	// contains filtered or unexported fields
}

func CreateEZSqlxStore

func CreateEZSqlxStore(options *ezsesh.EzOptions, database *sqlx.DB) *EzSqlxStore

func (*EzSqlxStore) Create

func (store *EzSqlxStore) Create(w http.ResponseWriter, assoc string) error

func (*EzSqlxStore) DeleteSession

func (store *EzSqlxStore) DeleteSession(sessionId string) error

func (*EzSqlxStore) DeleteSessionByAssoc

func (store *EzSqlxStore) DeleteSessionByAssoc(assoc string) error

func (*EzSqlxStore) GetByAssociation

func (store *EzSqlxStore) GetByAssociation(assocValue string) (session interface{}, err error)

func (*EzSqlxStore) GetSessionByID

func (store *EzSqlxStore) GetSessionByID(sessionId string, destination interface{}) error

Jump to

Keyboard shortcuts

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