session

package
v0.0.0-...-ad95247 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadgerSessionStore

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

func NewSessionStore

func NewSessionStore(filePath string, opts ...badgerOption) (*BadgerSessionStore, error)

func (BadgerSessionStore) Get

func (s BadgerSessionStore) Get(_ context.Context, key ports.SessionKey) (value []byte, err error)

func (BadgerSessionStore) Set

func (s BadgerSessionStore) Set(_ context.Context, key ports.SessionKey, value []byte) error

type WithInMemory

type WithInMemory bool

type WithTTL

type WithTTL time.Duration

Jump to

Keyboard shortcuts

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