storage

package
v0.0.0-...-50a15a0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSessionStore

func NewSessionStore(set *FactorySet, keyPairs []KeyPairs) sessions.Store

Types

type Factory

type Factory interface {
	Initialize(settings *Setting) error
	SessionStore(keyPairs ...KeyPairs) sessions.Store
	io.Closer
}

func Initialize

func Initialize(set *FactorySet) (Factory, error)

type FactorySet

type FactorySet struct {
	Factory  Factory
	Settings *Setting
}

type KeyPairs

type KeyPairs []byte

func NewKeyPairs

func NewKeyPairs(conf *config.Config) []KeyPairs

type Setting

type Setting struct {
	*config.Section
}

Jump to

Keyboard shortcuts

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