blob: adef69ad83666e9278ba438149430e525f218ef0 (
plain) (
tree)
|
|
package session
import (
"context"
"errors"
)
var (
ErrSessionNotFound = errors.New("session not found")
)
type Store interface {
Load(ctx context.Context, sessionID string) Value
Save(ctx context.Context, sessionID string, value Value) error
}
type Value map[string]any
|