Versions in this module Expand all Collapse all v0 v0.1.1 Oct 11, 2026 Changes in this version + const SessionStoreMainSubpath + const SessionStoreTimeout + var ErrSessionIDRequired = errors.New("session id is required") + type InMemorySessionStore struct + func NewInMemorySessionStore() *InMemorySessionStore + func (s *InMemorySessionStore) Append(ctx context.Context, main SessionKey, base int, entries []SessionStoreEntry, ...) error + func (s *InMemorySessionStore) Delete(ctx context.Context, key SessionKey) error + func (s *InMemorySessionStore) ListSessions(ctx context.Context) ([]SessionSummary, error) + func (s *InMemorySessionStore) Load(ctx context.Context, sessionID string) (map[string][]SessionStoreEntry, error) + func (s *InMemorySessionStore) Replace(ctx context.Context, main SessionKey, replacements []SessionStoreReplacement) error + type SessionKey struct + SessionID string + Subpath string + type SessionStore interface + Append func(ctx context.Context, main SessionKey, base int, entries []SessionStoreEntry, ...) error + Delete func(ctx context.Context, key SessionKey) error + ListSessions func(ctx context.Context) ([]SessionSummary, error) + Load func(ctx context.Context, sessionID string) (map[string][]SessionStoreEntry, error) + Replace func(ctx context.Context, main SessionKey, replacements []SessionStoreReplacement) error + type SessionStoreEntry = json.RawMessage + type SessionStoreReplacement struct + Entries []SessionStoreEntry + Key SessionKey + type SessionSummary struct + SessionID string + UpdatedAtUnixMilli int64