store

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheStore added in v1.0.0

type CacheStore struct {
	Options    *sessions.Options
	StoreMutex sync.RWMutex
	// contains filtered or unexported fields
}

func NewStore

func NewStore(c cache.Cache, pluginClient PluginClient, codec ...[]byte) *CacheStore

func (*CacheStore) Delete added in v1.0.0

func (c *CacheStore) Delete(session *sessions.Session) error

func (*CacheStore) Get added in v1.0.0

func (c *CacheStore) Get(r *http.Request, name string) (*sessions.Session, error)

func (*CacheStore) GetPluginClient added in v1.0.0

func (c *CacheStore) GetPluginClient() PluginClient

func (*CacheStore) New added in v1.0.0

func (c *CacheStore) New(r *http.Request, name string) (*sessions.Session, error)

func (*CacheStore) Save added in v1.0.0

func (c *CacheStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error

type PluginClient added in v1.0.0

type PluginClient interface {
	Kill()
}

Jump to

Keyboard shortcuts

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